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

Skip to content

Commit 5c6295b

Browse files
committed
Use 4-space indent
1 parent a11bdc4 commit 5c6295b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/backends/backend_gdk.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -475,8 +475,8 @@ def _print_image(self, filename, format, *args, **kwargs):
475475
# http://www.pygtk.org/docs/pygtk/class-gdkpixbuf.html#method-gdkpixbuf--save
476476
options = restrict_dict(kwargs, ['quality'])
477477
if format in ['jpg','jpeg']:
478-
if 'quality' not in options:
479-
options['quality'] = rcParams['savefig.jpeg_quality']
480-
options['quality'] = str(options['quality'])
478+
if 'quality' not in options:
479+
options['quality'] = rcParams['savefig.jpeg_quality']
480+
options['quality'] = str(options['quality'])
481481

482482
pixbuf.save(filename, format, options=options)

0 commit comments

Comments
 (0)