Commit d9add67
committed
qt: Mark canvas for re-draw after savefig
In some cases, Qt will itself trigger a paint event after closing the
file save dialog. When that happens, we need to be sure that the
internal canvas is re-drawn. However, if the user is using an
automatically-chosen Qt backend but saving with a different backend
(such as pgf), we do not want to trigger a full draw in Qt, so just set
the flag for next time.
Fixes matplotlib#262721 parent 6391678 commit d9add67
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
74 | 83 | | |
75 | 84 | | |
76 | 85 | | |
| |||
0 commit comments