Commit ee63e75
ENH: Support partial figsize with None
* ENH: Support partial figsize with None (#31400)
* ENH: disallow None in Figure.set_size_inches
* Update lib/matplotlib/figure.py
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
* Update lib/matplotlib/tests/test_figure.py
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
* Update lib/matplotlib/tests/test_figure.py
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
* Update lib/matplotlib/tests/test_figure.py
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
* ENH: parse partial None figsize in _parse_figsize
* Simplify set_size_inches argument handling
* DOC: document partial None support for figsize
* Update doc/release/next_whats_new/partial_figsize_none.rst
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
* Update lib/matplotlib/figure.py
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
* Update lib/matplotlib/pyplot.py
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
---------
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>1 parent 7c7e251 commit ee63e75
File tree
4 files changed
+61
-6
lines changed- doc/release/next_whats_new
- lib/matplotlib
- tests
4 files changed
+61
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2492 | 2492 | | |
2493 | 2493 | | |
2494 | 2494 | | |
| 2495 | + | |
| 2496 | + | |
| 2497 | + | |
2495 | 2498 | | |
2496 | 2499 | | |
2497 | 2500 | | |
| |||
3155 | 3158 | | |
3156 | 3159 | | |
3157 | 3160 | | |
| 3161 | + | |
| 3162 | + | |
| 3163 | + | |
| 3164 | + | |
3158 | 3165 | | |
3159 | 3166 | | |
3160 | 3167 | | |
| |||
3763 | 3770 | | |
3764 | 3771 | | |
3765 | 3772 | | |
3766 | | - | |
| 3773 | + | |
3767 | 3774 | | |
3768 | 3775 | | |
3769 | 3776 | | |
3770 | 3777 | | |
3771 | 3778 | | |
3772 | | - | |
3773 | | - | |
| 3779 | + | |
| 3780 | + | |
| 3781 | + | |
| 3782 | + | |
3774 | 3783 | | |
3775 | | - | |
3776 | | - | |
| 3784 | + | |
| 3785 | + | |
| 3786 | + | |
| 3787 | + | |
3777 | 3788 | | |
3778 | 3789 | | |
3779 | 3790 | | |
3780 | 3791 | | |
3781 | 3792 | | |
3782 | | - | |
3783 | 3793 | | |
3784 | 3794 | | |
3785 | 3795 | | |
3786 | 3796 | | |
3787 | 3797 | | |
| 3798 | + | |
| 3799 | + | |
| 3800 | + | |
| 3801 | + | |
| 3802 | + | |
| 3803 | + | |
| 3804 | + | |
| 3805 | + | |
| 3806 | + | |
| 3807 | + | |
| 3808 | + | |
| 3809 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
947 | 947 | | |
948 | 948 | | |
949 | 949 | | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
950 | 953 | | |
951 | 954 | | |
952 | 955 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1883 | 1883 | | |
1884 | 1884 | | |
1885 | 1885 | | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
| 1892 | + | |
| 1893 | + | |
| 1894 | + | |
| 1895 | + | |
| 1896 | + | |
| 1897 | + | |
| 1898 | + | |
| 1899 | + | |
| 1900 | + | |
| 1901 | + | |
| 1902 | + | |
| 1903 | + | |
1886 | 1904 | | |
1887 | 1905 | | |
1888 | 1906 | | |
0 commit comments