Plotly charts inheriting dash-bootstrap-components color scheme

Hi @tphil10

You are in luck! You can try using the Bootstrap-themed plotly figure templates from the dash-bootstrap-templates library. There is also a theme switch component and a stylesheet for appying a Bootstrap theme to dash-core-components and the DataTable.

Also, as you mentioned, it is necessary to update the figure in a callback when you change the theme, otherwise the new theme won’t be applied.

See also this post for more information:

1 Like