We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27e4283 commit 1613f83Copy full SHA for 1613f83
1 file changed
malariagen_data/anoph/sample_metadata.py
@@ -1015,7 +1015,7 @@ def plot_samples_interactive_map(
1015
samples_map.layout.width = width
1016
1017
# Add markers.
1018
- count_factors = df_samples[count_by].dropna().sort_values().unique()
+ count_factors = df_pivot.columns.dropna().sort_values().unique()
1019
for _, row in df_pivot.reset_index().iterrows():
1020
title = (
1021
f"Location: {row.location} ({row.latitude:.3f}, {row.longitude:.3f})"
0 commit comments