-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Vega-lite charts do not show titles in dark mode #4643
Copy link
Copy link
Closed
Labels
area:stylingRelated to styling and appearanceRelated to styling and appearancefeature:st.vega_lite_chartRelated to the `st.vega_lite_chart` elementRelated to the `st.vega_lite_chart` elementpriority:P3Medium priorityMedium prioritystatus:confirmedBug has been confirmed by the Streamlit teamBug has been confirmed by the Streamlit teamtype:bugSomething isn't working as expectedSomething isn't working as expected
Metadata
Metadata
Assignees
Labels
area:stylingRelated to styling and appearanceRelated to styling and appearancefeature:st.vega_lite_chartRelated to the `st.vega_lite_chart` elementRelated to the `st.vega_lite_chart` elementpriority:P3Medium priorityMedium prioritystatus:confirmedBug has been confirmed by the Streamlit teamBug has been confirmed by the Streamlit teamtype:bugSomething isn't working as expectedSomething isn't working as expected
Type
Fields
Give feedbackNo fields configured for issues without a type.
Summary
Titles of Vega-Lite charts are not showing up in dark mode.
Steps to reproduce
Originally reported by @tvst:
There are actually titles right above those 2 charts, but you can’t see them because they’re black-on-black. I think our Vega-Lite theme is missing some property. Maybe need to add titleColor to header?
The screenshot above is from the Plost example app. Here’s a simple way to repro locally:
then
Is this a regression?
That is, did this use to work the way you expected in the past?
idk
Debug info
$ streamlit version)$ python --version)Additional information
If needed, add any other context about the problem here. For example, did this bug come from https://discuss.streamlit.io or another site? Link the original source here!