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

Skip to content

Commit 1e277dd

Browse files
author
Daniel Hyams
committed
Two small pep8 fixes.
1 parent ac1ea15 commit 1e277dd

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

lib/matplotlib/backends/backend_gtk.py

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

479479
options['quality'] = str(options['quality'])
480480

481-
482481
if is_string_like(filename):
483482
try:
484483
pixbuf.save(filename, format, options=options)

lib/matplotlib/backends/backend_wx.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1173,7 +1173,6 @@ def _print_image(self, filename, filetype, *args, **kwargs):
11731173
image = self.bitmap.ConvertToImage()
11741174
image.SetOption(wx.IMAGE_OPTION_QUALITY,str(jpeg_quality))
11751175

1176-
11771176
# Now that we have rendered into the bitmap, save it
11781177
# to the appropriate file type and clean up
11791178
if is_string_like(filename):

0 commit comments

Comments
 (0)