Remove a tab after it is created?

I am using dcc tabs and wondering if there is a way to delete a created tab?

I don’t know if it has style as an option but if it does you can return a style:{display:none}, e.g:

Callback
@app.callback( [Output(component_id="dcc.tab_id",component_property="style")],
[Input(component_id="any_input",component_property="any_property")]
def whatever(input):
 do smtg
return [{"display":"none"}]

I tried that but the children of the tab are still displayed. I was hoping to remove the tab and children completely.

three reasons why you should buy plotly pro: support open source, get great support, host your plots and dashboards online