Commit 1b7454d
committed
Deprecate the renderer parameter to Figure.tight_layout.
We only ever use the renderer instance cached on the Figure anyways
(except that in `Figure.draw` we need to cache it earlier).
After the parameter is removed, the signature of Figure.tight_layout
will match the one of pyplot.tight_layout and we'll be able to dedupe
the latter by just adding tight_layout to the list of functions
autogenerated by boilerplate.py.1 parent 74e9dc7 commit 1b7454d
File tree
2 files changed
+9
-5
lines changed- doc/api/next_api_changes
- lib/matplotlib
2 files changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1695 | 1695 | | |
1696 | 1696 | | |
1697 | 1697 | | |
| 1698 | + | |
1698 | 1699 | | |
1699 | 1700 | | |
1700 | 1701 | | |
| |||
1729 | 1730 | | |
1730 | 1731 | | |
1731 | 1732 | | |
1732 | | - | |
1733 | | - | |
| 1733 | + | |
1734 | 1734 | | |
1735 | 1735 | | |
1736 | 1736 | | |
| |||
1743 | 1743 | | |
1744 | 1744 | | |
1745 | 1745 | | |
1746 | | - | |
1747 | 1746 | | |
1748 | 1747 | | |
1749 | 1748 | | |
| |||
2450 | 2449 | | |
2451 | 2450 | | |
2452 | 2451 | | |
| 2452 | + | |
2453 | 2453 | | |
2454 | 2454 | | |
2455 | 2455 | | |
| |||
2462 | 2462 | | |
2463 | 2463 | | |
2464 | 2464 | | |
2465 | | - | |
2466 | | - | |
| 2465 | + | |
2467 | 2466 | | |
2468 | 2467 | | |
2469 | 2468 | | |
| |||
0 commit comments