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

Skip to content

Commit a11bdc4

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/backends/backend_gtk.py

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

482-
options['quality'] = str(options['quality'])
482+
options['quality'] = str(options['quality'])
483483

484484
if is_string_like(filename):
485485
try:

0 commit comments

Comments
 (0)