Closed FLO-2DKaren closed 1 month ago
This deprecation issue is related to the version of pyqtgraph we currently use (13.3). I've changed it to the latest version (13.7) and these warnings are not showing up anymore.
However, the plotting grids are a little different between these two version. I added some opacity to make them look better. See:
13.3 (current version)
13.7 (updated version)
I did some testing and all looks good. The pull request is https://github.com/FLO-2DSoftware/qgis-flo-2d-plugin/pull/1355.
No problems here
As of QGIS 3.36.3, these are the deprecation warnings.
2024-05-24T15:46:08 WARNING warning:C:\Users\Karen\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\flo2d\deps\pyqtgraph-0.13.3-py3-none-any.whl\pyqtgraph\graphicsItems\DateAxisItem.py:22: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). _epoch = datetime.utcfromtimestamp(0)