Skip to content

Document that Figure.add_subplot can take a GridSpec[...] as argument #12114

@anntzer

Description

@anntzer

Something like fig.add_subplot(gridspec[0, 1]) isn't mentioned at all in the add_subplot docstring, it probably should be. Could additionally go to the docstrings of plt.subplot (if that guy accepts a gridspec too, I guess it does?), and of SubplotBase.__init__ (as that's where the logic resides).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions