[MNT]: Close subplot_parameters window when main figure closes · Issue #21679 · matplotlib/matplotlib · GitHub
Skip to content

[MNT]: Close subplot_parameters window when main figure closes #21679

Description

@greglucas

Summary

If you click the subplot parameters button from the toolbar, a new window pops up. If you then close the main figure window, the subplot parameters window will still be there and keep the session alive. I would expect the main figure window to close the subplot parameters pop up as well on close. (same experience on macosx and qt5agg)

Proposed fix

Keep a child reference to the subplot parameters window around that we can then close automatically for the user?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions