Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIx Flow Duration Curve Plot Bug #365

Merged
merged 10 commits into from
Dec 3, 2024
2 changes: 1 addition & 1 deletion mhkit/river/graphics.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def plot_flow_duration_curve(D, F, label=None, ax=None):
"""
# Sort by F
temp = xr.Dataset(data_vars={"D": D, "F": F})
temp.sortby("F", ascending=False)
temp = temp.sortby("F", ascending=False)

ax = _xy_plot(
temp["D"],
Expand Down
Loading