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

unavoidable warnings in nbagg on `plt.close` · Issue #25181 · matplotlib/matplotlib · GitHub

Repository navigation

unavoidable warnings in nbagg on plt.close #25181

Closed

Description

          I received similar MatplotlibDeprecationWarning when using pp.close(_fig):

MatplotlibDeprecationWarning: The close_event function was deprecated in Matplotlib 3.6 and will be removed two minor releases later. Use callbacks.process('close_event', CloseEvent(...)) instead.

I am using WSL1, python 3.11.1, matplotlib==3.6.2 and matplotlib.use('nbAgg').

I was not able to find any instructions how to close the figure differently.

Originally posted by @mivanc in #23921 (comment)

I can confirm this behavior.

Activity

  1. added this to the v3.7.0 milestone on Feb 9, 2023
  2. added a commit that references this issue on Feb 9, 2023
    c79f801
  3. added a commit that references this issue on Apr 19, 2026
    e5fbc86
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL