Skip to content

Commit 40dfdd8

Browse files
Revert "Prevent intermittent GitHub Actions failures on Windows by setting MPLBACKEND=Agg per https://github.com/orgs/community/discussions/26434#discussioncomment-3251926 - NREL#365" - doesn't work
This reverts commit fa32232.
1 parent 1ee5d7b commit 40dfdd8

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/__init__.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +0,0 @@
1-
import os
2-
3-
import matplotlib as mpl
4-
5-
if os.name == 'nt' and 'TOXPYTHON' in os.environ:
6-
# Backend should be 'Agg' in GitHub Actions to prevent intermittent Windows failures
7-
# per https://github.com/NREL/GEOPHIRES-X/issues/365
8-
mpl.use('Agg')
9-
10-
print(f'[DEBUG] matplotlib backend: {mpl.get_backend()}')

0 commit comments

Comments
 (0)