| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
|
||
| class FigureManagerPgf(FigureManagerBase): | ||
| pass | ||
| FigureManagerPgf = FigureManagerBase |
There was a problem hiding this comment.
I wouldn't do this because you don't create a FigureManagerPgf type with that, so that
>>> mgr = FigureManagerPgf() >>> type(mgr) <class 'FigureManagerBase'>
which is a bit confusing.
Sorry, something went wrong.
There was a problem hiding this comment.
this is consistent with FigureManagerPS, FigureManagerPDF and FigureManagerSVG, and was discussed in #9551 (review).
Sorry, something went wrong.
There was a problem hiding this comment.
Still not convinced this is a good approach, but accepting as precedenced.
Sorry, something went wrong.
- Noninteractive backends don't need to redefine `draw()` as a do-nothing: that's already the default in the base class. - The pgf backend manager can just be an alias for FigureManagerBase: this is consistent with the other noninteractive backends. - FigureCanvasQT doesn't need to assign `self.figure = figure`: that's already done in the super() init. - Use star-unpack in backend_template. - The list of event handlers set up by backend_wx is much bigger than previously documented.
|
rebased |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
do-nothing: that's already the default in the base class.
that's already done in the super() init.
previously documented.
PR Summary
PR Checklist