Skip to content

enable figures to be excluded from calls to show() #16377

Closed as not planned
Closed as not planned
@keatonb

Description

@keatonb

Feature request

Calling matplotlib.pyplot.show() displays all active figures. There are times this is not desirable, such as when some figure is still being developed. Of course, show() can be called for specific figures, but perhaps a user doesn't know that an undisplayed figure belongs to a class instance and these all get displayed when they call show() for their own plot.

Example at https://stackoverflow.com/q/59995448/4302578

It would be great if there was some attribute of a figure like figure.show_by_default, figure.implicit_show, or figure.exclude_from_show that could be set to stop these from popping up when plt.show() is called without arguments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: closed as inactiveIssues closed by the "Stale" Github Action. Please comment on any you think should still be open.status: inactiveMarked 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