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

Skip to content

Commit 64ae6c8

Browse files
committed
compare: PEP-8 formatting.
1 parent 91c969a commit 64ae6c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/testing/compare.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,8 @@ def compare_images( expected, actual, tol, in_decorator=False ):
300300
# open the image files and remove the alpha channel (if it exists)
301301
expectedImage = _png.read_png_int( expected )
302302
actualImage = _png.read_png_int( actual )
303-
expectedImage = expectedImage[:,:,:3]
304-
actualImage = actualImage[:,:,:3]
303+
expectedImage = expectedImage[:, :, :3]
304+
actualImage = actualImage[:, :, :3]
305305

306306
actualImage, expectedImage = crop_to_same(actual, actualImage, expected, expectedImage)
307307

0 commit comments

Comments
 (0)