-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
GUI: QtRelease criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Milestone
Description
Bug summary
If you use the "save" button on Qt after the save the window is blank until a redraw is forced (resize the window, pan/zoom by guessing where the axes were, etc).
Code for reproduction
import matplotlib
import matplotlib.pyplot as plt
matplotlib.use('qtagg')
plt.plot(range(5))
plt.show()
# click the save buttonActual outcome
Expected outcome
Additional information
- see it with both blocking and non-blocking
show() - do not see it with tk (did not test other GUI frameworks)
I think this is a blocker for 3.8 as Qt is the backend a lot of people end up using (because it is the first in our list and conda install pyqt as a Matplotlib dependency)
Operating system
Arch
Matplotlib Version
3.8.0.dev1477+gb274f78060 (~main)
Matplotlib Backend
QtAgg (with pyqt6)
Python version
Python 3.13.0a0 (it is actually a branch from a PR)
Jupyter version
NA
Installation
git checkout
Metadata
Metadata
Assignees
Labels
GUI: QtRelease criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.

