Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Labels
Milestone
Description
Problem
Most methods to create anAxes
instance (e.g.Figure.add_axes,pyplot.subplot) allow passing of theprojection
keyword in order to return an instance of a subclass ofAxes
. It would be useful ifAxes.inset_axes could do the same.
See also#22608 where there was some agreement that this would be useful, but that was not the right solution.
Proposed solution
I'm unfamilar with the Matplotlib codebase, but Ithink the relevant functionality is contained withinFigure._process_projection_requirements. So perhapsinset_axes
could reuse that somehow.