Skip to content

Commit

Permalink
ymin=0
Browse files Browse the repository at this point in the history
  • Loading branch information
burggraaff committed Apr 17, 2024
1 parent 999898a commit 43fd85e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plot_ensemble_parameter_single.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@


### CONSTANTS
OUTPUT_LABELS = ("RD", "DOM", "LAIMAX", "TAGP", "TWSO") # Parameters to plot
OUTPUT_LABELS = ("DOM", "RD", "LAIMAX", "TAGP", "TWSO") # Parameters to plot
OUTPUT_PARAMETERS = [fpcup.parameters.pcse_summary_outputs[key] for key in OUTPUT_LABELS]


Expand Down Expand Up @@ -91,6 +91,9 @@ def number_of_replicates(data: fpcup.geo.gpd.GeoDataFrame, column: str) -> int:
xlim = summary_by_crop[args.PARAMETER_NAME].min(), summary_by_crop[args.PARAMETER_NAME].max()
axs[0, 0].set_xlim(*xlim)

for ax in axs[1:, 0]:
ax.set_ylim(ymin=0)

for ax, output in zip(axs[:, 0], OUTPUT_PARAMETERS):
ax.set_ylabel(output.name)

Expand Down

0 comments on commit 43fd85e

Please sign in to comment.