You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
StreamingPositionPlot() in fishplots.py uses the GraphicsWindow attribute in pyqtgraph, which apparently no longer exists in the latest release (>0.13.0) (stytra protocols wouldn't run due to the AttributeError).
Installing stytra with pip currently automatically installs the latest version of pyqtgraph.
Downgrading pyqtgraph 0.12.4 fixed the issue.
The text was updated successfully, but these errors were encountered:
Editing fishplots.py from "class StreamingPositionPlot(pg.GraphicsWindow):" to "class StreamingPosition(pg.GraphicsView):" in line 16 and that solved that issue.
However, when I run it again another issue arises with utilities.py.
I then changed "if isinstance(v, collections.Mapping):" to "if isinstance(v, collections.ChainMap):" in line 242
and then running "python -m stytra.examples.looming_exp" worked fine for me! :)
StreamingPositionPlot() in fishplots.py uses the GraphicsWindow attribute in pyqtgraph, which apparently no longer exists in the latest release (>0.13.0) (stytra protocols wouldn't run due to the AttributeError).
Installing stytra with pip currently automatically installs the latest version of pyqtgraph.
Downgrading pyqtgraph 0.12.4 fixed the issue.
The text was updated successfully, but these errors were encountered: