
nf = px.bar(dmt, x='date', y='Nutrition', title="Nutrition Scores", width=0.5)
nf.update_xaxes({'range': ('2024-06-08', '2024-06-15')}, tickmode='linear',
tickformat='%a
%d', title=None)
nf.update_yaxes(title='Nutrition')
nf.update_layout(title_x=0.5, plot_bgcolor="white", paper_bgcolor="white")
nf.update_traces(marker_color='#1e439d')
Подробнее здесь: https://stackoverflow.com/questions/787 ... -half-bars