8000 Backport PR #16736: xpdf: Set AutoRotatePages to None, not false. · matplotlib/matplotlib@3e0fc53 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3e0fc53

Browse files
tacaswellmeeseeksmachine
authored andcommitted
Backport PR #16736: xpdf: Set AutoRotatePages to None, not false.
1 parent ae85a8c commit 3e0fc53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_ps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1321,7 +1321,7 @@ def xpdf_distill(tmpfile, eps=False, ptype='letter', bbox=None, rotated=False):
13211321
["ps2pdf",
13221322
"-dAutoFilterColorImages#false",
13231323
"-dAutoFilterGrayImages#false",
1324-
"-dAutoRotatePages#false",
1324+
"-sAutoRotatePages#None",
13251325
"-sGrayImageFilter#FlateEncode",
13261326
"-sColorImageFilter#FlateEncode",
13271327
"-dEPSCrop" if eps else "-sPAPERSIZE#%s" % ptype,

0 commit comments

Comments
 (0)
0