Commit 973c99e
committed
FIX: correctly restore the size of unpickled figures with hi-dpi
The issue is that we reset the dpi but did not re-compute any of the
bounding boxes derived from the dpi leading to the initial redraw events
to use the wrong physical size on the screen.
Closes matplotlib#272241 parent c0041fb commit 973c99e
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3321 | 3321 | | |
3322 | 3322 | | |
3323 | 3323 | | |
3324 | | - | |
3325 | | - | |
| 3324 | + | |
| 3325 | + | |
| 3326 | + | |
3326 | 3327 | | |
3327 | 3328 | | |
3328 | 3329 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1688 | 1688 | | |
1689 | 1689 | | |
1690 | 1690 | | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
1691 | 1694 | | |
1692 | 1695 | | |
1693 | 1696 | | |
| |||
0 commit comments