From 3c8c71fce6cf1d675fdc04fe91e2591983176dc7 Mon Sep 17 00:00:00 2001 From: gurayerus Date: Tue, 10 Dec 2024 12:19:45 -0500 Subject: [PATCH] Fix bug --- src/viewer/utils/utils_plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viewer/utils/utils_plot.py b/src/viewer/utils/utils_plot.py index 174cadd..c519751 100644 --- a/src/viewer/utils/utils_plot.py +++ b/src/viewer/utils/utils_plot.py @@ -196,7 +196,7 @@ def on_hvar_change(): key=f"plot_hvar_{plot_id}" sel_val=st.session_state[key] df_plots.loc[plot_id, "hvar"]=sel_val - df_plots.loc[plot_id, "hvals"]=[] + df_plots.at[plot_id, "hvals"]=[] hind = get_index_in_list(list_cols_ext, df_plots.loc[plot_id, "hvar"]) st.selectbox(