Skip to content

Commit 1eac3d6

Browse files
committed
Reword pargraph about overriding with custom chart configs
1 parent 254c7ee commit 1eac3d6

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

content/library/api/charts/altair_chart.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ Click the tabs in the interactive app below to see the charts with the Streamlit
4141

4242
<Cloud src="https://doc-altair-chart.streamlit.app/?embed=true" height="500" />
4343

44-
If you're wondering if your own customizations will still be taken into account, don't worry! Any changes you make to chart configurations will be accounted for and reflected in the app. Here's an example of an Altair chart where manual color passing is done and reflected:
44+
If you're wondering if your own customizations will still be taken into account, don't worry! You can still make changes to your chart configurations. In other words, although we now enable the Streamlit theme by default, you can overwrite it with custom colors or fonts. For example, if you want a chart line to be green instead of the default red, you can do it!
45+
46+
Here's an example of an Altair chart where manual color passing is done and reflected:
4547

4648
<Collapse title="See the code">
4749

content/library/api/charts/plotly_chart.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ Click the tabs in the interactive app below to see the charts with the Streamlit
4545

4646
<Cloud src="https://doc-plotly-chart-theme.streamlit.app/?embed=true" height="525" />
4747

48-
If you're wondering if your own customizations will still be taken into account, don't worry! Any changes you make to chart configurations will be accounted for and reflected in the app. Here's an example of an Plotly chart where a custom color scale is defined and reflected:
48+
If you're wondering if your own customizations will still be taken into account, don't worry! You can still make changes to your chart configurations. In other words, although we now enable the Streamlit theme by default, you can overwrite it with custom colors or fonts. For example, if you want a chart line to be green instead of the default red, you can do it!
49+
50+
Here's an example of an Plotly chart where a custom color scale is defined and reflected:
4951

5052
```python
5153
import plotly.express as px

content/library/api/charts/vega_lite_chart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ Click the tabs in the interactive app below to see the charts with the Streamlit
5454

5555
<Cloud src="https://doc-vega-lite-theme.streamlit.app/?embed=true" height="500" />
5656

57-
If you're wondering if your own customizations will still be taken into account, don't worry! Any changes you make to chart configurations will be accounted for and reflected in the app.
57+
If you're wondering if your own customizations will still be taken into account, don't worry! You can still make changes to your chart configurations. In other words, although we now enable the Streamlit theme by default, you can overwrite it with custom colors or fonts. For example, if you want a chart line to be green instead of the default red, you can do it!

0 commit comments

Comments
 (0)