Skip to content

Commit

Permalink
relax ylim constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
jwarner8 committed Aug 19, 2024
1 parent 804a715 commit df11d5a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/CSET/operators/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,6 @@ def _plot_and_save_postage_stamp_histogram_series(
plt.hist(member_data_1d, density=True, histtype=histtype, stacked=True)
ax = plt.gca()
ax.set_title(f"Member #{member.coord(stamp_coordinate).points[0]}")
ax.set_ylim(0, 1)
ax.set_xlim(vmin, vmax)

# Overall figure title.
Expand All @@ -656,7 +655,6 @@ def _plot_and_save_postage_stamps_in_single_plot_histogram_series(
fig, ax = plt.subplots(figsize=(10, 10), facecolor="w", edgecolor="k")
ax.set_title(title)
ax.set_xlim(vmin, vmax)
ax.set_ylim(0, 1)
ax.set_xlabel(f"{cube.name()} / {cube.units}")
ax.set_ylabel("normalised probability density")
# Loop over all slices along the stamp_coordinate
Expand Down

0 comments on commit df11d5a

Please sign in to comment.