We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67d5667 commit 95d0c3aCopy full SHA for 95d0c3a
1 file changed
malariagen_data/anoph/sample_metadata.py
@@ -971,6 +971,8 @@ def plot_samples_interactive_map(
971
fill_value=0,
972
)
973
974
+ taxa = df_pivot.columns.dropna().sort_values().unique()
975
+
976
# Append aggregations to pivot.
977
df_location_aggs = df_samples.groupby(location_composite_key).agg(
978
{
@@ -1015,11 +1017,6 @@ def plot_samples_interactive_map(
1015
1017
samples_map.layout.width = width
1016
1018
1019
# Add markers.
- taxa = [
- c
1020
- for c in df_pivot.columns.dropna().sort_values().unique()
1021
- if c not in ["year", "sample_set", "contributor"]
1022
- ]
1023
for _, row in df_pivot.reset_index().iterrows():
1024
title = (
1025
f"Location: {row.location} ({row.latitude:.3f}, {row.longitude:.3f})"
0 commit comments