Skip to content

Commit

Permalink
TST: Set mpl to use Agg backend during test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
mferrera committed Jul 9, 2024
1 parent a32a034 commit a056443
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
import pytest


def pytest_configure(config):
import matplotlib as mpl

mpl.use("Agg")


def pytest_addoption(parser):
parser.addoption(
"--testdatapath",
Expand Down

0 comments on commit a056443

Please sign in to comment.