Skip to content

don't let matplotlib pop up all opened windows  #10972

Closed
@Xunius

Description

@Xunius

Bug report

Bug summary

My problem is kind of the opposite to this stackoverflow question: Matplotlib plt.show() method does not pop out the window that my matplotlib always pop up ALL the previously opened windows together with the new window plt.show(block=False) opens. This gets annoying when I need to debug the code by generating some plots, Alt-Tab to switch back to code and generate some more plots. If only the last plot window is brought to the front, I need only 1 hit of Alt-Tab, now there will be a long list of tab-icons to go through before I get back to the code window.

I'm pretty sure it didn't behave like this before, probably after I reinstalled Anaconda and got a different version of matplotlib.

The backend it currently uses is qt5agg, changing to Tkagg solves the problem.

Matplotlib version

  • Operating system: Manjaro linux
  • Matplotlib version: 2.1.2=py27h0e671d2_0
  • Matplotlib backend (print(matplotlib.get_backend())): qt5agg
  • Python version: 2.7.14 from Anaconda
  • Jupyter version (if applicable):
  • Other libraries:

Installed via conda install matplotlib

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions