Commit 2a964cc
committed
Make required_interactive_framework required on FigureCanvas.
All FigureCanvas subclasses that inherit from FigureCanvasBase already
have that attribute (which may be None), so the getattr is redundant.
In practice, it would be extremely difficult to write a FigureCanvasLike
class that does not inherit from FigureCanvasBase, but to be safe, go
through a deprecation period.1 parent d48fca9 commit 2a964cc
File tree
3 files changed
+18
-5
lines changed- doc/api/next_api_changes/deprecations
- lib/matplotlib
3 files changed
+18
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1650 | 1650 | | |
1651 | 1651 | | |
1652 | 1652 | | |
1653 | | - | |
1654 | | - | |
1655 | | - | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
1656 | 1660 | | |
1657 | 1661 | | |
1658 | 1662 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
203 | | - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
204 | 209 | | |
205 | 210 | | |
206 | 211 | | |
| |||
0 commit comments