Skip to content

Commit 9c819c0

Browse files
authored
Merge pull request matplotlib#16736 from QuLogic/rotate-none
FIX: Set AutoRotatePages to None, not false.
2 parents fdeeac6 + 08446d6 commit 9c819c0

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
@@ -1198,7 +1198,7 @@ def xpdf_distill(tmpfile, eps=False, ptype='letter', bbox=None, rotated=False):
11981198
["ps2pdf",
11991199
"-dAutoFilterColorImages#false",
12001200
"-dAutoFilterGrayImages#false",
1201-
"-dAutoRotatePages#false",
1201+
"-sAutoRotatePages#None",
12021202
"-sGrayImageFilter#FlateEncode",
12031203
"-sColorImageFilter#FlateEncode",
12041204
"-dEPSCrop" if eps else "-sPAPERSIZE#%s" % ptype,

0 commit comments

Comments
 (0)