Skip to content

Add theming docs for Plotly, Altair, and Vega-Lite #545

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 16, 2022

Conversation

snehankekre
Copy link
Contributor

@snehankekre snehankekre commented Dec 7, 2022

📚 Context

Streamlit 1.16.0 introduces a new Streamlit theme for Altair, Vega lite, and Plotly charts.

🧠 Description of Changes

  • Adds a section on Theming to the st.altair_chart, st.plotly_chart, and st.vega_lite_chart commands' API reference pages.
    • The section includes a description of what theming is, how to turn it on/off, what the default behavior is, and how Streamlit accounts for customizations of colors and chart configs.
  • Embeds apps in all three API reference pages demonstrating the use of the theme argument, with and without custom chart configs.
  • Updates the API reference images for all three commands.

💥 Impact

Size:

  • Small
  • Not small

🕵️ For reviewers

PTAL at the API reference changes for:
Altair | Notion
Plotly | Notion
Vega-Lite | Notion

🌐 References

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

@snehankekre snehankekre changed the title Add theming docs for Plotly and Altair Add theming docs for Plotly, Altair, and Vega-Lite Dec 7, 2022
@snehankekre snehankekre merged commit c6446ff into main Dec 16, 2022
@snehankekre snehankekre deleted the streamlit-theme-charts branch December 16, 2022 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant