show

show(plot=None, renderer='auto', clear_fig=True, use_cdn=None)

Display a MAIDR plot.

Parameters

Name Type Description Default
plot Any or None The plot object to display. Supports matplotlib/seaborn artists, Plotly figures, and Altair chart objects. If None, uses the current matplotlib figure. None
renderer ('auto', 'ipython', 'browser') The renderer to use for display. "auto"
clear_fig bool Whether to clear the figure after displaying. True
use_cdn bool, {"auto"}, or None See :func:render for the three possible modes. None defers to :func:get_use_cdn (the process-wide default). The two CDN modes (True and "auto") resolve the published version over the network once per process when building the URL, bounded by MAIDR_CDN_TIMEOUT; MAIDR_CDN_VERSION skips it. False makes no request. Altair charts always use the CDN — this argument is not plumbed through that adapter. None

Returns

Name Type Description
object The display result.