Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Interactive mode not working in 1.4 #3505

Closed
@Nodd

Description

@Nodd

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp