From 554ffb2e43ee13a369276e7d01c8ba6163996d6d Mon Sep 17 00:00:00 2001 From: Alessio Buccino Date: Mon, 5 Jan 2026 12:20:40 +0100 Subject: [PATCH] Force Agg backend for tests --- tests/conftest.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/conftest.py diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 0000000..245f763 --- /dev/null +++ b/tests/conftest.py @@ -0,0 +1,4 @@ +import matplotlib + +# Force a non-GUI backend for all tests +matplotlib.use("Agg", force=True)