Closed
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 button
Actual 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