Skip to content

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

Closed

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

  1. anntzer commented on Nov 19, 2021

    @anntzer
    Contributor

    Probably you can do something like connecting to close_event?

  2. self-assigned this
    on Nov 19, 2021
  3. added this to the v3.5.1 milestone on Dec 6, 2021
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