-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
"interactive example" not working with PySide #5517
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
Comments
Try in The issue is the bridge between the python repl event loop and the qt event loop. |
Yes, that works. I'm perfectly happy with using In the interactive example section it says: "From an ordinary python prompt, or after invoking ipython with no options, try this: ...". It seems that this not always works. In the past I've often wondered what I did wrong and spend a lot of time with fruitless debugging. |
Can you put in a PR that changes that to something more accurate? |
The source for that section is at https://github.com/matplotlib/matplotlib/blob/master/doc/faq/usage_faq.rst You can edit it and create the pull request directly from the browser. |
Amended the documentation as suggested by @tacaswell in matplotlib#5517
Added link to what is a backend suggestion to explicitly explain that if interactivity isn't working, you need to activate an interactive backend.
Documentation bug fix: matplotlib#5517
I am running the interactive example from the documentation using the Qt4Agg backend. That is, I run the following commands in a regular Python shell:
When I put
backend.qt4 : PyQt4
in my.matplotlibrc
it works as expected. However, when I usebackend.qt4 : PySide
an empty, unresponsive window is shown.After a bit of googling I am not so sure that the "interactive example" is supposed to work for alli interactive backends. Especially this comment by efiring indicates so. However this is in contradiction with the documentation.
Can you clarify this and/or update the documentation?
I am using OS-X 10.6.8, Python 2.7.10, Matplotlib 1.4.3, PySide 1.2.2 and PyQt 4.11.4.
The text was updated successfully, but these errors were encountered: