Skip to content

Commit 7b517da

Browse files
committed
Merge pull request #5957 from JanSchulz/miktex_gs
Win: add mgs as a name for ghostscript executable
2 parents 190c923 + f7cc002 commit 7b517da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,8 @@ def checkdep_dvipng():
351351

352352
def checkdep_ghostscript():
353353
if sys.platform == 'win32':
354-
gs_execs = ['gswin32c', 'gswin64c', 'gs']
354+
# mgs is the name in miktex
355+
gs_execs = ['gswin32c', 'gswin64c', 'mgs', 'gs']
355356
else:
356357
gs_execs = ['gs']
357358
for gs_exec in gs_execs:

0 commit comments

Comments
 (0)