Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Description
I have an application with a GUI using Pyside or PyQt (the compatibility layer ishttps://github.com/ros-visualization/python_qt_binding). This application displays matplotlib plots in interactive mode to avoid problems with the event loop.
It works well with matplotlib 1.3.1, but when I update to 1.4.0 the plots are not shown anymore. I tried upgrading and downgrading matplotlib only, and it confirms that the problem is linked to the update.
If I try to addshow()
after the plot, the window is shown with the warningQCoreApplication::exec: The event loop is already running
, as if it was in non-interactive mode.
The return value ofisinteractive()
is 0 if I call plt.ion() and False if I cann plt.ioff().
I tried to write a minimal example of the problem but it works fine in the console. I don't recall anything special in my application that would change the behavior.
I use anaconda under Linux (Manjaro).