8000 Deprecate ConnectionStyle._Base and ArrowStyle._Base · Issue #18713 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
Deprecate ConnectionStyle._Base and ArrowStyle._Base #18713
Open
@anntzer

Description

@anntzer

Describe the issue

Summary

Private base classes are problematic from a documentation PoV (see lengthy discussion at #15503). In the specific case of ConnectionStyle._Base and ArrowStyle._Base, the base class could be eliminated by moving its logic to the caller side, as was done for BoxStyle._Base in #17737. This would make it easier for third parties to implement their own ConnectionStyles/ArrowStyles as plain classes with a __call__ method.

Proposed fix

Deprecate ConnectionStyle._Base and ArrowStyle._Base, with the same logic-moving as in #17737.

Metadata

Metadata

Assignees

No one assigned

    Labels

    MaintenancekeepItems to be ignored 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

      0