Init calls subclass method pattern · Issue #12220 · matplotlib/matplotlib · GitHub
Skip to content

Init calls subclass method pattern #12220

Description

@timhoffm

We have a lot of places with the init-calls-subclass pattern.

This cause problems if the subclass method relies on subclass attributes that have not yet been set up.

I actually ran into the issue in #12215.

  • Has anyone encountered this before?
  • Do we have a strategy how to avoid this issue?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: inactiveMarked by the “Stale” Github Action

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions