Background color of a plotly chart not taken

Hi,
I would like to plot a plotly chart with streamlit, but the background setting was not taken:

grafik

The plot is displayed with grey background:

Is there any way how to fix it? The goal would be the plot as shown in the first picture (“template=“xgridoff””).
Link to the repository: https://github.com/pit9921/Calory_Calculator

Solved with foloowing extension:

fig1.update_layout({
‘plot_bgcolor’: ‘rgba(0, 0, 0, 0)’,
‘paper_bgcolor’: ‘rgba(0, 0, 0, 0)’,
})