# Plotly charts inheriting dash-bootstrap-components color scheme

**URL:** <https://community.plotly.com/t/plotly-charts-inheriting-dash-bootstrap-components-color-scheme/60097>\
**Category:** Dash Python\
**Created:** [January 14, 2022, 8:11pm UTC](https://community.plotly.com/t/plotly-charts-inheriting-dash-bootstrap-components-color-scheme/60097 "2022-01-14T20:11:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![AnnMarieW](https://avatars.discourse-cdn.com/v4/letter/a/ec9cab/32.png) [@AnnMarieW](https://community.plotly.com/u/AnnMarieW)\
**Post date:** [January 14, 2022, 11:38pm UTC](https://community.plotly.com/t/plotly-charts-inheriting-dash-bootstrap-components-color-scheme/60097/2 "2022-01-14T23:38:39Z")

</div>

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.

> **[Theme Explorer](https://hellodash.pythonanywhere.com/)**
>
> A guide for styling Plotly Dash apps with a Bootstrap theme. Shows how to include Bootstrap-themed Plotly figure templates,
> apply Bootstrap themes and utility classes to Plotly Dash components and switch themes with a theme change component.

See also this post for more information:

> [@Dash Bootstrap Templates](https://community.plotly.com/t/dash-bootstrap-templates/52456):
>
> Dash Bootstrap Templates See these features live at : [Dash](https://hellodash.pythonanywhere.com/theme_explorer) dash-bootstrap-templates library provides: Bootstrap themed Plotly figure templates. You will find a Plotly template for each of the 26 Bootstrap/Bootswatch themes available in the [Dash Bootstrap Components Library](https://dash-bootstrap-components.opensource.faculty.ai/). These templates will automatically style your figures with Bootstrap theme colors and fonts. Two [All-in-One](https://dash.plotly.com/all-in-one-components) components to change themes in a Dash app. ThemeSwitchAIO toggles between two themes. ThemeChangerAIO selec…

---

_[View the full topic](https://community.plotly.com/t/plotly-charts-inheriting-dash-bootstrap-components-color-scheme/60097)._
