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

Skip to content

Commit 2d2cfed

Browse files
committed
Finish up transform test changes.
A couple of flake8 fixes and remove from nose list.
1 parent 347527d commit 2d2cfed

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/matplotlib/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1522,7 +1522,6 @@ def _jupyter_nbextension_paths():
15221522
'matplotlib.tests.test_text',
15231523
'matplotlib.tests.test_texmanager',
15241524
'matplotlib.tests.test_tightlayout',
1525-
'matplotlib.tests.test_transforms',
15261525
'matplotlib.tests.test_triangulation',
15271526
'matplotlib.tests.test_type1font',
15281527
'matplotlib.tests.test_ttconv',

lib/matplotlib/tests/test_transforms.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from __future__ import (absolute_import, division, print_function,
22
unicode_literals)
33

4-
import six
54
from six.moves import zip
65

76
import unittest
@@ -220,7 +219,7 @@ class NonAffineForTest(mtrans.Transform):
220219

221220
def __init__(self, real_trans, *args, **kwargs):
222221
self.real_trans = real_trans
223-
r = mtrans.Transform.__init__(self, *args, **kwargs)
222+
mtrans.Transform.__init__(self, *args, **kwargs)
224223

225224
def transform_non_affine(self, values):
226225
return self.real_trans.transform(values)

0 commit comments

Comments
 (0)