Skip to content

Commit

Permalink
Merge pull request #483 from MetOffice/457_more_detail_in_plot_title
Browse files Browse the repository at this point in the history
Include recipe title in plots title
  • Loading branch information
Sylviabohnenstengel authored Apr 17, 2024
2 parents 38fd32e + 82aaac2 commit 5a15a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CSET/operators/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def spatial_contour_plot(
plot_filename = f"{filename.rsplit('.', 1)[0]}_{sequence_value}.png"
coord = cube_slice.coord(sequence_coordinate)
# Format the coordinate value in a unit appropriate way.
title = coord.units.title(coord.points[0])
title = f"{recipe_title} | {coord.units.title(coord.points[0])}"
# Do the actual plotting.
plotting_func(
cube_slice,
Expand Down

0 comments on commit 5a15a3f

Please # to comment.