Spaces:
Sleeping
Sleeping
Update src/pages/waste_analytics.py
Browse files
src/pages/waste_analytics.py
CHANGED
|
@@ -315,7 +315,8 @@ def _render_single_month(df: pd.DataFrame, selected_month: str) -> None:
|
|
| 315 |
colorbar=dict(title="kg", tickfont=dict(color="#E8F4F8")),
|
| 316 |
))
|
| 317 |
fig_h.update_layout(title="Daily Waste Intensity (kg)", height=420,
|
| 318 |
-
|
|
|
|
| 319 |
st.plotly_chart(fig_h, use_container_width=True)
|
| 320 |
|
| 321 |
# Group analysis
|
|
|
|
| 315 |
colorbar=dict(title="kg", tickfont=dict(color="#E8F4F8")),
|
| 316 |
))
|
| 317 |
fig_h.update_layout(title="Daily Waste Intensity (kg)", height=420,
|
| 318 |
+
**CHART_LAYOUT)
|
| 319 |
+
fig_h.update_xaxes(tickangle=-45, tickfont=dict(size=9))
|
| 320 |
st.plotly_chart(fig_h, use_container_width=True)
|
| 321 |
|
| 322 |
# Group analysis
|