Skip to content

Commit 8fd5fa5

Browse files
committed
Improve tab names in theming apps
1 parent 0da1da1 commit 8fd5fa5

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

python/api-examples-source/theming/charts.altair_chart.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def get_chart(use_container_width: bool):
2121
.interactive()
2222
)
2323

24-
tab1, tab2 = st.tabs(["Streamlit theme", "Altair native theme"])
24+
tab1, tab2 = st.tabs(["Streamlit theme (default)", "Altair native theme"])
2525

2626
with tab1:
2727
st.altair_chart(

python/api-examples-source/theming/charts.altair_custom_colors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def get_chart(use_container_width: bool):
5959

6060
chart = alt.vconcat(points, bars, data=source, title="Seattle Weather: 2012-2015")
6161

62-
tab1, tab2 = st.tabs(["Streamlit theme", "Altair native theme"])
62+
tab1, tab2 = st.tabs(["Streamlit theme (default)", "Altair native theme"])
6363

6464
with tab1:
6565
st.altair_chart(

python/api-examples-source/theming/charts.plotly_chart_theme.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def get_chart(use_container_width: bool):
1717
size_max=60,
1818
)
1919

20-
tab1, tab2 = st.tabs(["Streamlit theme", "Default theme"])
20+
tab1, tab2 = st.tabs(["Streamlit theme (default)", "Plotly native theme"])
2121
with tab1:
2222
st.plotly_chart(fig, use_container_width=use_container_width, theme="streamlit")
2323
with tab2:

python/api-examples-source/theming/charts.plotly_custom_colors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def get_chart_1111(use_conatiner_width: bool):
1515
color_continuous_scale="reds",
1616
)
1717

18-
tab1, tab2 = st.tabs(["Streamlit theme", "Default theme"])
18+
tab1, tab2 = st.tabs(["Streamlit theme (default)", "Plotly native theme"])
1919
with tab1:
2020
st.plotly_chart(fig, use_conatiner_width=use_conatiner_width, theme="streamlit")
2121
with tab2:

0 commit comments

Comments
 (0)