Commit 21e0a2e
committed
Remove print_figure overrides in backend subclasses
AFAICT, `print_figure` is only called in `savefig`, and thus has no
relation to backend drawing. We went through a lot of trouble to make
`savefig` self-contained, so if this really had any effect, it would be
a bug in it instead. But other backends don't do this override and seem
to work fine, so these seem superfluous as well.
After this change, just opening a window in Qt and using the save button
did not seem to break anything, nor did running `savefig` with an
interactive window open. I did not test Wx, but given the callers of
`print_figure`, I don't see how it could be different.
Fixes matplotlib#52341 parent 690884f commit 21e0a2e
2 files changed
+0
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 74 | | |
79 | 75 | | |
80 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | | - | |
622 | | - | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | 617 | | |
627 | 618 | | |
628 | 619 | | |
| |||
0 commit comments