Skip to content

Commit

Permalink
fix for elexon plot
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Aug 23, 2024
1 parent b6eafc3 commit aeec3f4
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 aeec3f4

Please sign in to comment.