We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79f69ca commit 424338bCopy full SHA for 424338b
mhkit/river/graphics.py
@@ -76,7 +76,7 @@ def plot_flow_duration_curve(D, F, label=None, ax=None):
76
"""
77
# Sort by F
78
temp = xr.Dataset(data_vars={"D": D, "F": F})
79
- temp.sortby("F", ascending=False)
+ temp = temp.sortby("F", ascending=False)
80
81
ax = _xy_plot(
82
temp["D"],
0 commit comments