Skip to content

Commit

Permalink
Merge pull request #186 from openclimatefix/issue/fix-elexon-forecast
Browse files Browse the repository at this point in the history
fix for elexon plot
  • Loading branch information
peterdudfield authored Aug 28, 2024
2 parents b6eafc3 + aeec3f4 commit 57fda59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/forecast.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 57fda59

Please sign in to comment.