Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 088fdfc

Browse files
authored
Merge pull request #15565 from meeseeksmachine/auto-backport-of-pr-15556-on-v3.2.x
Backport PR #15556 on branch v3.2.x (Fix test suite compat with ghostscript 9.50.)
2 parents 73bf0ea + cd2231f commit 088fdfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/testing/compare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def __call__(self, orig, dest):
130130
if not self._proc:
131131
self._proc = subprocess.Popen(
132132
[mpl._get_executable_info("gs").executable,
133-
"-dNOPAUSE", "-sDEVICE=png16m"],
133+
"-dNOSAFER", "-dNOPAUSE", "-sDEVICE=png16m"],
134134
# As far as I can see, ghostscript never outputs to stderr.
135135
stdin=subprocess.PIPE, stdout=subprocess.PIPE)
136136
try:

0 commit comments

Comments
 (0)