Skip to content

Commit

Permalink
Include recipe title in plots title
Browse files Browse the repository at this point in the history
Fixes #457
  • Loading branch information
jfrost-mo committed Apr 12, 2024
1 parent eed9efa commit 82aaac2
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 82aaac2

Please # to comment.