@@ -425,13 +425,13 @@ def test_axvline_axvspan_do_not_modify_rlims():
425425def test_cursor_precision ():
426426 ax = plt .subplot (projection = "polar" )
427427 # Higher radii correspond to higher theta-precisions.
428- assert ax .format_coord (0 , 0 ) == "θ=0π (0°), r=0.000 "
428+ assert ax .format_coord (0 , 0.005 ) == "θ=0. 0π (0°), r=0.005 "
429429 assert ax .format_coord (0 , .1 ) == "θ=0.00π (0°), r=0.100"
430430 assert ax .format_coord (0 , 1 ) == "θ=0.000π (0.0°), r=1.000"
431- assert ax .format_coord (1 , 0 ) == "θ=0.3π (57°), r=0.000 "
431+ assert ax .format_coord (1 , 0.005 ) == "θ=0.3π (57°), r=0.005 "
432432 assert ax .format_coord (1 , .1 ) == "θ=0.32π (57°), r=0.100"
433433 assert ax .format_coord (1 , 1 ) == "θ=0.318π (57.3°), r=1.000"
434- assert ax .format_coord (2 , 0 ) == "θ=0.6π (115°), r=0.000 "
434+ assert ax .format_coord (2 , 0.005 ) == "θ=0.6π (115°), r=0.005 "
435435 assert ax .format_coord (2 , .1 ) == "θ=0.64π (115°), r=0.100"
436436 assert ax .format_coord (2 , 1 ) == "θ=0.637π (114.6°), r=1.000"
437437
0 commit comments