Skip to content

Commit ebc2691

Browse files
authored
Merge pull request #906 from blankirigaya/plot2
Ag3.plot frequencies time series
2 parents bb81ca5 + e02c9d3 commit ebc2691

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

malariagen_data/anoph/frq_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,8 @@ def plot_frequencies_time_series(
385385

386386
# Build a long-form dataframe from the dataset.
387387
dfs = []
388-
for cohort_index, cohort in enumerate(df_cohorts.itertuples()):
389-
ds_cohort = ds.isel(cohorts=cohort_index)
388+
for cohort in df_cohorts.itertuples():
389+
ds_cohort = ds.isel(cohorts=cohort.Index)
390390
df = pd.DataFrame(
391391
{
392392
"taxon": cohort.taxon,

0 commit comments

Comments
 (0)