Skip to content

Commit

Permalink
Merge pull request #951 from MetOffice/non-interactive-plotting-backend
Browse files Browse the repository at this point in the history
Use non-interactive backend for plotting
  • Loading branch information
jfrost-mo authored Dec 2, 2024
2 parents 0956789 + 362fb42 commit f7d4459
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/CSET/operators/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
from CSET._common import get_recipe_metadata, render_file, slugify
from CSET.operators._utils import get_cube_yxcoordname, is_transect

# Use a non-interactive plotting backend.
mpl.use("agg")

############################
# Private helper functions #
############################
Expand Down

0 comments on commit f7d4459

Please sign in to comment.