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.
1 parent 6d03ed8 commit 503356eCopy full SHA for 503356e
lib/matplotlib/tests/test_ticker.py
@@ -246,7 +246,7 @@ def test_tick_values_correct(self):
246
1.e+03, 2.e+03, 5.e+03, 1.e+04, 2.e+04, 5.e+04,
247
1.e+05, 2.e+05, 5.e+05, 1.e+06, 2.e+06, 5.e+06,
248
1.e+07, 2.e+07, 5.e+07, 1.e+08, 2.e+08, 5.e+08])
249
- assert_array_equal(ll.tick_values(1, 1e7), test_value)
+ assert_almost_equal(ll.tick_values(1, 1e7), test_value)
250
251
def test_tick_values_not_empty(self):
252
mpl.rcParams['_internal.classic_mode'] = False
@@ -257,7 +257,7 @@ def test_tick_values_not_empty(self):
257
258
1.e+07, 2.e+07, 5.e+07, 1.e+08, 2.e+08, 5.e+08,
259
1.e+09, 2.e+09, 5.e+09])
260
- assert_array_equal(ll.tick_values(1, 1e8), test_value)
+ assert_almost_equal(ll.tick_values(1, 1e8), test_value)
261
262
263
class TestNullLocator:
0 commit comments