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 5773bf9 commit e3424d0Copy full SHA for e3424d0
lib/matplotlib/tests/test_colors.py
@@ -567,7 +567,7 @@ def test_Normalize():
567
norm = plt.Normalize(1, 1 + 100 * eps)
568
# This returns exactly 0.5 when longdouble is extended precision (80-bit),
569
# but only a value close to it when it is quadruple precision (128-bit).
570
- np.testing.assert_array_almost_equal_nulp(norm(1 + 50 * eps), 0.5)
+ assert_array_almost_equal(norm(1 + 50 * eps), 0.5, decimal=3)
571
572
573
def test_FuncNorm():
0 commit comments