FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Possibly excessive transform creation · Issue #12031 · matplotlib/matplotlib · GitHub

Repository navigation

Possibly excessive transform creation #12031

Open

Description

Follow-up to #11972, which solves a memory leak, but leaves the question of whether we can improve performance by reducing the number of transform instantiations.

It was pointed out that simply moving the cursor in an otherwise static plot is enough to cause calls to Transform.set_children, which occurs when transforms are chained or blended.

Activity

  1. QuLogic commented on Sep 6, 2018

    Member

    When creating composite transforms, would it work if we checked parents and returned the one that already existed and contained the two transforms? I think these are immutable, and there's already some shortcuts to avoid adding redundant IdentityTransforms.

  2. github-actions commented on May 15, 2023

    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!

  3. added
    status: closed as inactiveIssues closed by the "Stale" Github Action. Please comment on any you think should still be open.
    on Jun 14, 2023
  4. efiring commented on Jun 14, 2023

    MemberAuthor

    @anntzer You have worked on transforms quite recently; do you know whether this issue is now obsolete? If it isn't, I'm tempted to reopen it.

  5. anntzer commented on Jun 14, 2023

    Contributor

    I don't think it's obsolete.
    I had somehow missed @QuLogic's suggestion above; it should be reasonably doable to implement (just need a lot of fiddling with weakrefs in the caches...) and even though it is not absolutely clear it will help, it does seems worth trying.

  6. removed
    status: inactiveMarked by the “Stale” Github Action
    status: closed as inactiveIssues closed by the "Stale" Github Action. Please comment on any you think should still be open.
    on Jun 14, 2023
  7. github-actions commented on Sep 23, 2024

    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!

  8. added
    keepItems to be ignored by the “Stale” Github Action
    and removed
    status: inactiveMarked by the “Stale” Github Action
    on Sep 23, 2024
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

    PerformancekeepItems 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


      Back | FazBrowse Home | New Git URL