@@ -322,15 +322,13 @@ def test_polar_interpolation_steps_constant_r(fig_test, fig_ref):
322322 # Check that an extra half-turn doesn't make any difference -- modulo
323323 # antialiasing, which we disable here.
324324 p1 = (fig_test .add_subplot (121 , projection = "polar" )
325- .bar ([0 ], [1 ], 3 * np .pi , edgecolor = "none" ))
325+ .bar ([0 ], [1 ], 3 * np .pi , edgecolor = "none" , antialiased = False ))
326326 p2 = (fig_test .add_subplot (122 , projection = "polar" )
327- .bar ([0 ], [1 ], - 3 * np .pi , edgecolor = "none" ))
327+ .bar ([0 ], [1 ], - 3 * np .pi , edgecolor = "none" , antialiased = False ))
328328 p3 = (fig_ref .add_subplot (121 , projection = "polar" )
329- .bar ([0 ], [1 ], 2 * np .pi , edgecolor = "none" ))
329+ .bar ([0 ], [1 ], 2 * np .pi , edgecolor = "none" , antialiased = False ))
330330 p4 = (fig_ref .add_subplot (122 , projection = "polar" )
331- .bar ([0 ], [1 ], - 2 * np .pi , edgecolor = "none" ))
332- for p in [p1 , p2 , p3 , p4 ]:
333- plt .setp (p , antialiased = False )
331+ .bar ([0 ], [1 ], - 2 * np .pi , edgecolor = "none" , antialiased = False ))
334332
335333
336334@check_figures_equal (extensions = ["png" ])
0 commit comments