That was an involved fix but it solved my problem. I had to reset the index on my dataframe so that date is a column instead of the index. Then I used the st.altair_chart to plot the data. The Altair chart automatically plots the date ticks in a pleasant way. Thank you.