We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e5c019 commit 44febe2Copy full SHA for 44febe2
1 file changed
astropy/visualization/tests/test_interval.py
@@ -41,7 +41,7 @@ def test_manual_zero_limit(self):
41
42
def test_manual_defaults_with_nan(self):
43
interval = ManualInterval()
44
- data = self.data.copy()
+ data = np.copy(self.data)
45
data[0] = np.nan
46
vmin, vmax = interval.get_limits(self.data)
47
np.testing.assert_allclose(vmin, -20)
0 commit comments