We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb0b5cc commit 86b5481Copy full SHA for 86b5481
tests/test_matrix.py
@@ -61,8 +61,8 @@ class ArrayLike:
61
def __init__(self, data):
62
self.data = data
63
64
- def __array__(self, dtype=None, copy=None):
65
- return np.asarray(self.data, dtype=dtype, copy=copy)
+ def __array__(self, **kwargs):
+ return np.asarray(self.data, **kwargs)
66
67
p = mat._HeatMapper(ArrayLike(self.x_norm), **self.default_kws)
68
npt.assert_array_equal(p.plot_data, self.x_norm)
0 commit comments