From 268948ef420f689722a331872f13adecbc3e59d3 Mon Sep 17 00:00:00 2001 From: Sebastien Morais Date: Tue, 12 Nov 2024 13:04:04 +0100 Subject: [PATCH] CI: Use interactive backend with matplotlib --- src/pyedb/generic/plot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pyedb/generic/plot.py b/src/pyedb/generic/plot.py index 5b436f8338..3e7073b1c5 100644 --- a/src/pyedb/generic/plot.py +++ b/src/pyedb/generic/plot.py @@ -14,11 +14,11 @@ from matplotlib.patches import PathPatch from matplotlib.path import Path - # Use matplotlib agg backend (non-interactive) when the CI is running. + # Use matplotlib TkAgg backend (interactive) when the CI is running. if bool(int(os.getenv("PYEDB_CI_NO_DISPLAY", "0"))): # pragma: no cover import matplotlib - matplotlib.use("Agg") + matplotlib.use("TkAgg") import matplotlib.pyplot as plt except ImportError: