Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b81bb3d

Browse files
author
Daniel Hyams
committed
Two newline fixes to comply with PEP8
1 parent 56e0c34 commit b81bb3d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

lib/matplotlib/backends/backend_gtk.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,7 @@ def _print_image(self, filename, format, *args, **kwargs):
475475
if format in ['jpg','jpeg']:
476476
if 'quality' not in options:
477477
options['quality'] = rcParams['savefig.jpeg_quality']
478+
478479
options['quality'] = str(options['quality'])
479480

480481

lib/matplotlib/backends/backend_wx.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1165,7 +1165,6 @@ def _print_image(self, filename, filetype, *args, **kwargs):
11651165

11661166
# image is the object that we call SaveFile on.
11671167
image = self.bitmap
1168-
11691168
# set the JPEG quality appropriately. Unfortunately, it is only possible
11701169
# to set the quality on a wx.Image object. So if we are saving a JPEG,
11711170
# convert the wx.Bitmap to a wx.Image, and set the quality.

0 commit comments

Comments
 (0)