Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

It is painful as a new user, to figure out what AxesSubplot is #18222

Copy link
Copy link
Closed
@aathan

Description

@aathan
Issue body actions

Bug report

Try googling "AxesSubplot" which is the type you get back from a plt.gca() call. Try finding this class in the docs. Try searching for this class in the source code.

Poor new users trying to figure out what they're dealing with...

(It's a dynamic class created in _subplot.py that is a subclass of Axes, but ... boy was that a pain to detangle. Asked it's class for it's module, etc... Have mercy on new users and make it easier to find documentation for dynamic classes.)

(and no, it's not good enough that google does show Axes in its result, because it's not AxesSubplot, and if you're chasing down an AttributeError, or have a typo in a function call that you believe it "should" respond to, you're in a mindset of thinking "this must not be an Axes")

DingXuefeng, story645, princio, cwboyd, TomNicholas and 15 more

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.