close

close(plot=None)

Close a MAIDR plot and clean up resources.

Parameters

Name Type Description Default
plot Any or None The plot object to close: a matplotlib Figure, Axes or artist, or a seaborn Grid. If None, uses the current matplotlib figure. None