Skip to content

Commit

Permalink
CI: Use interactive backend with matplotlib
Browse files Browse the repository at this point in the history
  • Loading branch information
SMoraisAnsys committed Nov 12, 2024
1 parent 2c78e2e commit 268948e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pyedb/generic/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 268948e

Please sign in to comment.