From aeec3f4877eac5d6a72c6b5440e4001e010e9cd5 Mon Sep 17 00:00:00 2001 From: peterdudfield Date: Fri, 23 Aug 2024 16:25:28 +0100 Subject: [PATCH] fix for elexon plot --- src/forecast.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/forecast.py b/src/forecast.py index 2e924a3..62514e1 100644 --- a/src/forecast.py +++ b/src/forecast.py @@ -195,9 +195,9 @@ def forecast_page(): ) ) - # Only add Elexon plot if the National region is selected - if gsp_id == 0: - fig = add_elexon_plot(fig, start_datetimes, end_datetimes) + # Only add Elexon plot if the National region is selected + if gsp_id == 0: + fig = add_elexon_plot(fig, start_datetimes, end_datetimes) st.plotly_chart(fig, theme="streamlit")