From 82aaac2b60eec197634aa98f1d6b86a82aca7c46 Mon Sep 17 00:00:00 2001 From: James Frost Date: Fri, 12 Apr 2024 11:00:26 +0100 Subject: [PATCH] Include recipe title in plots title Fixes #457 --- src/CSET/operators/plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CSET/operators/plot.py b/src/CSET/operators/plot.py index 07d081d81..f24b542c9 100644 --- a/src/CSET/operators/plot.py +++ b/src/CSET/operators/plot.py @@ -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,