Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c9bf557

Browse files
committed
Fix test
1 parent 25e7f73 commit c9bf557

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/tests/test_collections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,4 +682,4 @@ def test_legend_size_with_inverse_relationship():
682682
handle_sizes = [x.get_markersize() for x in handles]
683683
handle_sizes = [5 / x**2 for x in handle_sizes]
684684

685-
assert_almost_equal(handle_sizes, leg_sizes, decimal=2)
685+
assert_array_almost_equal(handle_sizes, leg_sizes, decimal=1)

0 commit comments

Comments
 (0)