diff --git a/tests/conftest.py b/tests/conftest.py index 92ad159..476c820 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -20,6 +20,8 @@ import numpy as np +import matplotlib + import pytest # ============================================================================= @@ -74,6 +76,8 @@ def make(*, distribution="normal", **kwargs): # CONFIGURATIONS # ============================================================================= +matplotlib.use("agg") + def pytest_configure(): pytest.DISTRIBUTIONS = DISTRIBUTIONS