Skip to content

Commit b6ff7ce

Browse files
fix minor bug in heat map plot
1 parent a032196 commit b6ff7ce

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/fractal_feature_explorer/pages/explore_page/_heat_map_plot.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ def heat_map_component(
7070
df_piv = df_piv.median(numeric_only=True)
7171
elif aggregation == "Counts":
7272
df_piv = df_piv.count()
73+
elif aggregation is None:
74+
st.error("Please select one aggregation")
75+
st.stop()
7376
else:
7477
raise ValueError(f"Unknown aggregation: {aggregation}")
7578

0 commit comments

Comments
 (0)