We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
swap_if_landscape
1 parent 51a1940 commit ef5f65aCopy full SHA for ef5f65a
lib/matplotlib/backends/backend_ps.py
@@ -840,7 +840,7 @@ def _print_figure(
840
# distillers improperly clip eps files if pagesize is too small
841
if width > paper_width or height > paper_height:
842
papertype = _get_papertype(
843
- *orientation.swap_if_landscape(width, height))
+ *orientation.swap_if_landscape((width, height)))
844
paper_width, paper_height = orientation.swap_if_landscape(
845
papersize[papertype])
846
0 commit comments