8000 unavoidable warnings in nbagg on `plt.close` · Issue #25181 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
unavoidable warnings in nbagg on plt.close #25181
Closed
@tacaswell

Description

@tacaswell
          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.

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

      0