Skip to content

Commit fed39c8

Browse files
committed
Merge pull request #3829 from tacaswell/HOME_win32_guard
MNT : add guard to not look up HOME env on windows
2 parents 0202f3b + 09e1351 commit fed39c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/font_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
""
143143
]
144144

145-
if not USE_FONTCONFIG:
145+
if not USE_FONTCONFIG and sys.platform != 'win32':
146146
home = os.environ.get('HOME')
147147
if home is not None:
148148
# user fonts on OSX

0 commit comments

Comments
 (0)