{% from 'partials/trial_viewer/_macros.html' import tab_strip %}
{% call tab_strip('plotTabs', 'plotActiveTabId', 'tab.config.title', '_isPlotTabDirty(tab)', 'switchPlotTab', 'closePlotTab', 'reorderPlotTabs', 'mojo:plot-close-tab', 'newPlotTab', 'New plot tab', renamable=true, duplicate_fn='duplicatePlotTab', select_fn='selectPlotTab', selected_expr='selectedPlotTabIds.includes(tab.id)') %} {% endcall %}