Commit 9869826
committed
Fix set_size_inches on HiDPI screens
This passes physical pixels to the backend, as it will be more accurate
due to the int-cast.
Fixes matplotlib#210901 parent 4b5328d commit 9869826
File tree
5 files changed
+16
-6
lines changed- lib/matplotlib
- backends
5 files changed
+16
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1762 | 1762 | | |
1763 | 1763 | | |
1764 | 1764 | | |
1765 | | - | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
1766 | 1771 | | |
1767 | 1772 | | |
1768 | 1773 | | |
| |||
2815 | 2820 | | |
2816 | 2821 | | |
2817 | 2822 | | |
2818 | | - | |
| 2823 | + | |
2819 | 2824 | | |
2820 | 2825 | | |
2821 | 2826 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
| 424 | + | |
| 425 | + | |
424 | 426 | | |
425 | 427 | | |
426 | 428 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
| 376 | + | |
| 377 | + | |
376 | 378 | | |
377 | 379 | | |
378 | 380 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
589 | 589 | | |
590 | 590 | | |
591 | 591 | | |
592 | | - | |
593 | | - | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
594 | 596 | | |
595 | 597 | | |
596 | 598 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2658 | 2658 | | |
2659 | 2659 | | |
2660 | 2660 | | |
2661 | | - | |
2662 | 2661 | | |
2663 | 2662 | | |
2664 | | - | |
| 2663 | + | |
2665 | 2664 | | |
2666 | 2665 | | |
2667 | 2666 | | |
| |||
0 commit comments