diff --git a/scripts/plotly_streamlit.py b/scripts/plotly_streamlit.py index 3907bd20..b626756b 100755 --- a/scripts/plotly_streamlit.py +++ b/scripts/plotly_streamlit.py @@ -377,7 +377,7 @@ def hms_to_str(t): species[1:], index=0) - df_counts = int(hourly[hourly.index == specie]['All']) + df_counts = int(hourly.loc[hourly.index == specie, 'All'].iloc[0]) fig = make_subplots(rows=1, cols=1)