API Reference

matplotly.matplotly(target: Figure | Any | None = None)

Interactive matplotlib figure editor.

Parameters:

target (Figure, callable, or None) –

  • Figure: opens the editor on that figure immediately.

  • callable: decorator mode — calls the function, captures plt.gcf(), and opens the editor.

  • None: returns a context manager.