Skip to content

Examples that use private APIs #13199

Closed

Activity

  1. jklymak commented on Jan 16, 2019

    @jklymak
    Member

    For axes_grid I think we should consider how to make that a core functionality.

  2. added this to the v3.1 milestone on Jan 16, 2019
  3. added a commit that references this issue on Jan 17, 2019
  4. QuLogic commented on Jan 17, 2019

    @QuLogic
    Member

    The last example seems to exist solely to derive from that private API, so I don't know what to do about it.

  5. anntzer commented on Jan 17, 2019

    @anntzer
    ContributorAuthor

    Perhaps that base class should be made public, if we want to support this kind of addition of BoxStyles.

  6. modified the milestones: v3.1.0, v3.2.0 on Feb 15, 2019
  7. modified the milestones: v3.2.0, v3.3.0 on Aug 26, 2019
  8. timhoffm commented on Aug 26, 2019

    @timhoffm
    Member

    As written elsewhere, I have doubts that private base classes are a reasonable approach. Their code leaks into the child classes, which is intended, but OTOH confusing because you're not seeing the base class. This also messes up sphinx because the inherited methods are not documented and cannot be linked.

    Generally, I cannot remember to have seen private base classes anywhere else. I feel it's better to make the base class public, but some of it's members private or abstract.

  9. modified the milestones: v3.3.0, v3.4.0 on May 7, 2020
  10. QuLogic commented on Jun 20, 2020

    @QuLogic
    Member
  11. anntzer commented on Jun 20, 2020

    @anntzer
    ContributorAuthor

    I have an idea of how to get rid of that private base class (essentially, move the mutation aspect handling out of __call__ and into the (only) call site, but as usual this will require ginormous amounts of deprecation machinery. I'll work on it at some point...

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions