Skip to content

support Figure.add_plot with a figure handle #345

@headtr1ck

Description

@headtr1ck

As far as I can tell it is only possible to add custom figure files or the current active pyplot figure.
I would like to add a plot of a given matplotlib.figure.Figure object.

Currently we have the workaround by calling plt.figure(fig.number) to make fig the active figure before adding the plot.

Would it be possible to add an optional figure argument to "add_plot" (None=>active figure)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions