Closed vvvstudio closed 10 months ago
You are using an old version. Fix with pip install -U finplot
.
Hi @highfestiva , I have been using finplot v.1.9.0, and already did pip install -U finplot. and using libs as follows; 'numpy>=1.23.5', 'pandas>=1.5.2', 'PyQt6>=6.4.0', 'pyqtgraph>=0.13.1'
but the error still the same.
Here is the result after run command : pip show finplot.
Name: finplot Version: 1.9.0 Summary: Finance plotting Home-page: https://github.com/highfestiva/finplot Author: Jonas Byström Author-email: highfestiva@gmail.com License: UNKNOWN Location:
/torch-gpu/lib/python3.8/site-packages Requires: numpy, pandas, PyQt6, pyqtgraph, python-dateutil Required-by:
Travelling, will check asap and get back to you.
One thing I haven't mentioned, I am using Jupyter notebook, not sure finplot compatible?
It was not part of v1.9.0 unfortunately. Either you can patch it with this github code, or I'll try to get a fix in today before I'm off to again.
Try v1.9.1, hopefully that helps.
Now I can import finplot, but I am figuring out how to make fplt.show() works
From the README
What it is not finplot is not a web app. It does not help you create an homebrew exchange. It does not work with Jupyter Labs.
Thanks
From the README
What it is not finplot is not a web app. It does not help you create an homebrew exchange. It does not work with Jupyter Labs.
In this case it might be the data you're using though. I'm guessing your time is a column, and not an index, and that's why df[['Open','Close','High','Low']]
is causing a crash. If so, just prepend your time column before 'Open'.
Requirements (place an
x
in each of the[ ]
)**pip install -U finplot
).Code to reproduce
Describe the bug
The error shown just after import statement.
Expected behavior
Expect to import sucessfully
Screenshots
Reproducible in:
OS: MacOS 12.6.3. Apple M1 Max finplot version: 1.9.0 pyqtgraph version:0.13.2 pyqt version:5.15.9