Skip to content

Commit 76596a4

Browse files
Update lib/matplotlib/backends/backend_pdf.py
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
1 parent 4258160 commit 76596a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_pdf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2759,7 +2759,7 @@ def print_pdf(self, filename, *,
27592759
bbox_inches_restore=None, metadata=None):
27602760

27612761
dpi = self.figure.dpi
2762-
self.figure.dpi = 72 # there are 72 pdf points to an inch
2762+
self.figure.dpi = 72 # there are 72 pdf points to an inch
27632763
width, height = self.figure.get_size_inches()
27642764
if isinstance(filename, PdfPages):
27652765
file = filename._file

0 commit comments

Comments
 (0)