Skip to content

Importing a matplotlib figure as a subfigure #71

@wolke-wanderer

Description

@wolke-wanderer

Is your feature request related to a problem? Please describe.

I've made a figure in matplotlib of a combination of some timeseries that I would like to plot alongside some maps generated with metview. Is there a way to directly import a matplotlib figure as a subplot in mv.mvl_regular_layout or mv.plot_superpage? (Or alternatively to export objects that matplotlib can natively work with?)

Describe the solution you'd like

A way to export from mv.plot as matplotlib fig, axs objects

Describe alternatives you've considered

Remaking the entire plot within existing metview functions, but this is cumbersome and package lock-in.

Additional context

No response

Organisation

KNMI

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions