Skip to content

Commit c61e869

Browse files
tacaswellQuLogic
authored andcommitted
Merge pull request #5957 from JanSchulz/miktex_gs
Win: add mgs as a name for ghostscript executable
1 parent 4721d2e commit c61e869

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
@@ -366,7 +366,8 @@ def checkdep_dvipng():
366366

367367
def checkdep_ghostscript():
368368
if sys.platform == 'win32':
369-
gs_execs = ['gswin32c', 'gswin64c', 'gs']
369+
# mgs is the name in miktex
370+
gs_execs = ['gswin32c', 'gswin64c', 'mgs', 'gs']
370371
else:
371372
gs_execs = ['gs']
372373
for gs_exec in gs_execs:

0 commit comments

Comments
 (0)