Skip to content

Commit 250e616

Browse files
committed
tests: switch matplotlib backend in tests
1 parent f9b6bb1 commit 250e616

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

conftest.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import matplotlib as mpl
2+
3+
# chose the matplotlib backend that can only generate pngs
4+
# but not interact with the os (better for testing)
5+
mpl.use("Agg")

0 commit comments

Comments
 (0)