(plot_to_show)
Display a plot, either interactive or static.

    Parameters
    ----------
    plot_to_show: Output of a plotting command (matplotlib axis or bokeh figure)
        The plot to show

    Returns
    -------
    None
Display a plot, either interactive or static.
Display a plot either interactive or static .
def show(plot_to_show):
    """Display a plot, either interactive or static.

    Parameters
    ----------
    plot_to_show: Output of a plotting command (matplotlib axis or bokeh figure)
        The plot to show

    Returns
    -------
    None
    """
    if isinstance(plot_to_show, plt.Axes):
        show_static()
    elif isinstance(plot_to_show, bpl.Figure):
        show_interactive(plot_to_show)
    elif isinstance(plot_to_show, hv.core.spaces.DynamicMap):
        show_interactive(hv.render(plot_to_show), backend="bokeh")
    else:
        raise ValueError(
            "The type of ``plot_to_show`` was not valid, or not understood."
        )
def show ( plot_to_show ) : if isinstance ( plot_to_show , plt . Axes ) : show_static ( ) elif isinstance ( plot_to_show , bpl . Figure ) : show_interactive ( plot_to_show ) elif isinstance ( plot_to_show , hv . core . spaces . DynamicMap ) : show_interactive ( hv . render ( plot_to_show ) , backend = "bokeh" ) else : raise ValueError ( "The type of ``plot_to_show`` was not valid, or not understood." )