Hi everyone … I’m so stuck !
How do I center this altair chart in streamlit ?
This only works in Jupyter lab :
from IPython.core.display import display, HTML
chart=alt.Chart(df).mark_bar().encode(
x=‘Irrigation’,
y=‘count(Irrigation)’).configure_axis(
labelFontSize=10,
titleFontSize=10).properties(
width=300,
height=300)
s=f"""