Skip to content

Commit

Permalink
Update to matplotlib 3.8 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
paulf81 committed Feb 7, 2024
1 parent 87a4902 commit 57dce34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def plot_energy_ratios(turbine_array, results_energy_ratio, ax=None, label=None)
_, ax = plt.subplots(figsize=(7.0, 3.0))

x = range(len(results_energy_ratio))
color = next(ax._get_lines.prop_cycler)["color"]
color = ax._get_lines.get_next_color()
ax.fill_between(
x,
results_energy_ratio["baseline_lb"],
Expand Down

0 comments on commit 57dce34

Please sign in to comment.