....\Python38\lib\site-packages\finplot\__init__.py:2051: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
return pg.mkColor(color).lighter(f*100)
# and
....\Python38\lib\site-packages\pyqtgraph\ThreadsafeTimer.py:26: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
self.timer.start(timeout)
# and
....\Python38\lib\site-packages\pyqtgraph\widgets\GraphicsView.py:374: DeprecationWarning: an integer is required (got type float). Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
delta = Point(ev.pos() - QtCore.QPoint(*self.lastMousePos))
Looks like lastMousePos is x,y floats, but pyqtgraph / pyqt5 is expecting ints now, and python itself seems to be complaining, spamming the console as you mouse around charts.
with warnings.catch_warnings():
warnings.simplefilter("ignore")
# do finplot stuff
isn't really a great workaround but it does work.
Full list of my modules:
Module | InstalledVersion | LatestAvailable
PyQt5 | 5.13.0 | 5.15.1
PyQt5-sip | 12.8.1 | 12.8.1
aiohttp | 3.6.2 | 4.0.0a1
aiohttp-proxy | 0.1.2 | 0.1.2
async-timeout | 3.0.1 | 4.0.0a2
attrs | 19.3.0 | 20.2.0
certifi | 2020.6.20 | 2020.6.20
chardet | 3.0.4 | 3.0.4
ciso8601 | 2.1.3 | 2.1.3
ddt | 1.4.1 | 1.4.1
discord.py | 1.4.1 | 1.4.1
finplot | 1.1.0 | 1.1.0
idna | 2.10 | 2.10
multidict | 4.7.6 | 4.7.6
multitasking | 0.0.9 | 0.0.9
numpy | 1.19.2 | 1.19.2
pandas | 1.1.2 | 1.1.2
pandas-market-calendars | 1.5.0 | 1.6.0
pip | 20.1.1 | 20.2.3
plotly | 4.10.0 | 4.10.0
pygame | 1.9.6 | 2.0.0.dev8
pyqtgraph | 0.11.0 | 0.11.0
python-dateutil | 2.8.1 | 2.8.1
pytz | 2020.1 | 2020.1
requests | 2.24.0 | 2.24.0
retrying | 1.3.3 | 1.3.3
robin-stocks | 1.2.0 | 1.5.1
setuptools | 47.1.0 | 50.3.0
six | 1.15.0 | 1.15.0
ta | 0.5.25 | 0.5.25
urllib3 | 1.25.9 | 1.25.10
websockets | 8.1 | 8.1
yarl | 1.4.2 | 1.5.1
yfinance | 0.1.54 | 0.1.54
Looks like lastMousePos is x,y floats, but pyqtgraph / pyqt5 is expecting ints now, and python itself seems to be complaining, spamming the console as you mouse around charts.
isn't really a great workaround but it does work.
Full list of my modules: