{#if value && type == "plotly"}
{:else if type == "bokeh"}
{:else if type == "altair"}
{#if caption}
{caption}
{/if}
{:else if type == "matplotlib"}
{:else}
{/if}