Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions lib/matplotlib/backends/backend_ps.py
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ def get_default_filetype(self):
def _print_ps(
self, fmt, outfile, *,
metadata=None, papertype=None, orientation='portrait',
**kwargs):
bbox_inches_restore=None, **kwargs):

dpi = self.figure.dpi
self.figure.dpi = 72 # Override the dpi kwarg
Expand Down Expand Up @@ -860,7 +860,8 @@ def _print_ps(
if mpl.rcParams['text.usetex'] else
self._print_figure)
printer(fmt, outfile, dpi=dpi, dsc_comments=dsc_comments,
orientation=orientation, papertype=papertype, **kwargs)
orientation=orientation, papertype=papertype,
bbox_inches_restore=bbox_inches_restore, **kwargs)

def _print_figure(
self, fmt, outfile, *,
Expand Down
Loading