Skip to content

No way to unregister a custom scale #5791

Open

Description

@dniku

There is a function register_scale in matplotlib.scale but no counterpart unregister_scale or deregister_scale. It would be useful in cases like this one where a custom scale is created for just one plot. Currently, there is no way to clean up after that single plot is drawn.

Activity

  1. mdboom commented on Jan 4, 2016

    @mdboom
    Member

    I'm 👍 on the idea. A context manager would also be nice.

  2. added this to the milestone on Jan 4, 2016
  3. modified the milestones: , on Oct 3, 2017
  4. github-actions commented on Jun 5, 2023

    @github-actions

    This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!

  5. dniku commented on Jul 1, 2023

    @dniku
    ContributorAuthor

    Still an issue on main.

  6. added
    keepItems to be ignored by the “Stale” Github Action
    on Jul 4, 2023
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

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions