Thanks to visit codestin.com Credit goes to github.com
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.
2 parents 5f8bdd6 + 5c7d928 commit 2345c2fCopy full SHA for 2345c2f
1 file changed
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