Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f7cc002

Browse filesBrowse files
committed
Win: add mgs as a name for ghostscript executable
mgs.exe is available in miktext and is: MiKTeX GPL Ghostscript 9.05 (2012-02-08) Copyright (C) 2010 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details.
1 parent 190c923 commit f7cc002
Copy full SHA for f7cc002

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎lib/matplotlib/__init__.py

Copy file name to clipboardExpand all lines: lib/matplotlib/__init__.py
+2-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.