How to center altair bar charts in streamlit

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"""

{chart.to_html()}
""" display(HTML(s))![Capture|690x403](upload://nBdZdLkgFIAdpFkpqORxfetP24S.png)