Skip to content

Commit

Permalink
tests: switch matplotlib backend in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ManonMarchand committed Nov 12, 2024
1 parent f9b6bb1 commit 250e616
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import matplotlib as mpl

# chose the matplotlib backend that can only generate pngs
# but not interact with the os (better for testing)
mpl.use("Agg")

0 comments on commit 250e616

Please sign in to comment.