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 0220351

Browse filesBrowse files
committed
Reduce linewidth for PEP-8 compliance.
1 parent 488eb61 commit 0220351
Copy full SHA for 0220351

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-2
lines changed

‎lib/matplotlib/tests/test_image.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_image.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,13 +348,13 @@ def test_get_window_extent_for_AxisImage():
348348
ax.set_position([0, 0, 1, 1])
349349
ax.set_xlim(0, 1)
350350
ax.set_ylim(0, 1)
351-
im_obj = ax.imshow(im, extent=[0.4, 0.7, 0.22, 0.9], interpolation='nearest')
351+
im_obj = ax.imshow(im, extent=[0.4, 0.7, 0.2, 0.9], interpolation='nearest')
352352

353353
fig.canvas.draw()
354354
renderer = fig.canvas.renderer
355355
im_bbox = im_obj.get_window_extent(renderer)
356356

357-
assert_array_equal(im_bbox.get_points(), [[400, 220], [700, 900]])
357+
assert_array_equal(im_bbox.get_points(), [[400, 200], [700, 900]])
358358

359359

360360
if __name__=='__main__':

0 commit comments

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