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
matlplotlib qt magic broken? #1451
Comments
You need to run
now, instead of
|
Still doesnt fix it. I've checked the matplolibrc file, and the backend specified is Qt5Agg. I still get the "no module named PyQt4" error
|
Tried suggested
Errored, see below. Ok, let's try to install pyqt4, nope, errored:
Info:
Please help, thank you. Error:
|
Retried with python 3.5.2 env, exactly the same
error. |
For anybody else with this error when using Jupyter notebooks, a workaround is to specify the "nbagg" backend when importing matplotlib. It isn't great if you want to use Qt5, but it will do in a pinch. |
Ok,
in python 3.5.2 env made the error go away. Have not tried this in 3.6.0 env yet. But error still exists with the default qt and pyqt of 5.x |
This works completely fine for me on macOS. Here is the procedure I followed, from start to finish. @nihalf, @fuzzthink, please try it and post your results:
In a new Python 3 notebook:
Finally, to cleanup:
|
Please can you give the requested feedback on this issue? |
@mingwandroid, I think we could merge this one with issue #1068. |
@mingwandroid, Hi, you suggestion worked for me, I was not sure about what I have done, though. |
All we have done here is to create a brand new temporary installation of
No it doesn't. |
I've just had similar issues. |
Closing due to lack of requested feedback. |
I'm trying to run matlplotlib pyplot interactively using the %matplotlib qt magic. I get the following :
Trying to pin PyQt to 4.11 doesn't work because it breaks other dependencies. Any solution?
The text was updated successfully, but these errors were encountered: