Skip to content

Commit

Permalink
force matplotlib agg backend on testing
Browse files Browse the repository at this point in the history
  • Loading branch information
JBC committed Dec 4, 2024
1 parent 80c2959 commit 433308e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

import numpy as np

import matplotlib

import pytest

# =============================================================================
Expand Down Expand Up @@ -74,6 +76,8 @@ def make(*, distribution="normal", **kwargs):
# CONFIGURATIONS
# =============================================================================

matplotlib.use("agg")


def pytest_configure():
pytest.DISTRIBUTIONS = DISTRIBUTIONS
Expand Down

0 comments on commit 433308e

Please sign in to comment.