Skip to content

Commit 1613f83

Browse files
Jon BrenasJon Brenas
authored andcommitted
Use the pivot table directly for taxa
1 parent 27e4283 commit 1613f83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

malariagen_data/anoph/sample_metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ def plot_samples_interactive_map(
10151015
samples_map.layout.width = width
10161016

10171017
# Add markers.
1018-
count_factors = df_samples[count_by].dropna().sort_values().unique()
1018+
count_factors = df_pivot.columns.dropna().sort_values().unique()
10191019
for _, row in df_pivot.reset_index().iterrows():
10201020
title = (
10211021
f"Location: {row.location} ({row.latitude:.3f}, {row.longitude:.3f})"

0 commit comments

Comments
 (0)