-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReferenceError on closing plot in pyqtgraph 0.10.0 & python 3.6 #603
Comments
could also be:
I get this issue when running pyqtgraph with tensorflow. This is referenced on SO. |
Prevents a ReferenceError being thrown when PyQtGraph tries to put TensorFlow stuff onto a QGraphicsScene() on cleanup - see pyqtgraph#603 and https://stackoverflow.com/questions/41542571/pyqtgraph-tries-to-put-tensorflow-stuff-onto-a-qgraphicsscene-on-cleanup
Prevents a ReferenceError being thrown when PyQtGraph tries to put TensorFlow stuff onto a QGraphicsScene() on cleanup - see pyqtgraph#603 and https://stackoverflow.com/questions/41542571/pyqtgraph-tries-to-put-tensorflow-stuff-onto-a-qgraphicsscene-on-cleanup
Does it fixed? |
it seems that this Error still lives in current pyqtgraph |
#613 has been merged, so this should be fixed, though it hasn't made it into a pyqtgraph release yet. Feel free to re-open if you're still seeing this problem using the latest develop branch. |
Has anybody experienced problems with that again?
On closing window:
|
@horsto are you using pyqtgraph version 0.10.0? My comment above is still accurate -- you could install the 0.11.0 release candidate with |
Thanks @ixjlyons! Yes, I was on 0.10.0. I updated to 0.11.0 and that indeed fixed the error. |
I have a plot as follows:
When I close the plotting window, the print() statement never runs, and instead I get:
If I add an exception for this ReferenceError to the cleanup() function in pyqtgraph's init.py then it works perfectly, as it now reads:
This is tested on pyathon 3.5 & 3.6 on Windows and on Mac.
The text was updated successfully, but these errors were encountered: