8000 BUG: Qt5Agg / PyQt5 not compatible with macOS Big Sur · Issue #18954 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
BUG: Qt5Agg / PyQt5 not compatible with macOS Big Sur #18954
Closed
@larsoner

Description

@larsoner

I have Qt5Agg set as my default backend. I recently upgraded my macOS system to Big Sur, and now import matplotlib.pyplot as plt; plt.figure() ends up hanging the interpreter. It seems like this is really a PyQt5 problem, but I thought I'd post some sort of information here as a bit of a warning for people, and as a place for people to mention workarounds if they have them. Or maybe I'm the only one with this problem, in which case sorry for the noise! FWIW I tried PyQt5 5.12 and 5.15.1, same problem on both. I also tried pyside2, it at least does not hang but no window is shown.

In the meantime I'll probably set my backend to MacOSX.

EDIT: My matplotlibrc specifies both backend: Qt5Agg and interactive: True

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0