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 82dfe4b

Browse filesBrowse files
authored
Merge pull request #2 from cover-me/fix-pep8
Update backend_svg.py
2 parents c6ec7f1 + 8e5aac9 commit 82dfe4b
Copy full SHA for 82dfe4b

File tree

1 file changed

+2
-1
lines changed
Filter options

1 file changed

+2
-1
lines changed

‎lib/matplotlib/backends/backend_svg.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_svg.py
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,8 @@ def draw_image(self, gc, x, y, im, transform=None):
874874

875875
attrib['transform'] = generate_transform(
876876
[('matrix', flipped.frozen())])
877-
attrib['style'] = 'image-rendering:crisp-edges;image-rendering:pixelated'
877+
attrib['style'] = ('image-rendering:crisp-edges;'
878+
'image-rendering:pixelated')
878879
self.writer.element(
879880
'image',
880881
width=short_float_fmt(w), height=short_float_fmt(h),

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.