diff --git a/lib/matplotlib/__init__.py b/lib/matplotlib/__init__.py index df6c0c1ffa1..0ec45dcee35 100644 --- a/lib/matplotlib/__init__.py +++ b/lib/matplotlib/__init__.py @@ -351,7 +351,8 @@ def checkdep_dvipng(): def checkdep_ghostscript(): if sys.platform == 'win32': - gs_execs = ['gswin32c', 'gswin64c', 'gs'] + # mgs is the name in miktex + gs_execs = ['gswin32c', 'gswin64c', 'mgs', 'gs'] else: gs_execs = ['gs'] for gs_exec in gs_execs: