Skip to content

Commit

Permalink
fix: fixed dataframe method in ecdfplot
Browse files Browse the repository at this point in the history
  • Loading branch information
jlerat committed Feb 14, 2024
1 parent 4fe79cb commit 333abae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydrodiy/plot/putils.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ def ecdfplot(ax, df, label_stat=None, label_stat_format="4.2f", \
Dictionnary containing the line object for each column in df.
"""
lines = {}
for name, se in df.iteritems():
for name, se in df.items():
values = se.sort_values().values
values = values[~np.isnan(values)]

Expand Down

0 comments on commit 333abae

Please sign in to comment.