Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a11bdc4

Browse filesBrowse files
committed
Use 4-space indent
1 parent 5fbabdf commit a11bdc4
Copy full SHA for a11bdc4

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎lib/matplotlib/backends/backend_gtk.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_gtk.py
+3-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.