Skip to content

Commit f6e5e2d

Browse files
committed
Fix for plotting test failiure on Windows
1 parent e50da5c commit f6e5e2d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
import tempfile
33
from pathlib import Path
44

5+
import matplotlib
6+
7+
matplotlib.use("Agg")
58
import numpy as np
69
import pytest
710

0 commit comments

Comments
 (0)