@@ -349,7 +349,7 @@ def test_annotate_default_arrow():
349
349
assert ann .arrow_patch is not None
350
350
351
351
352
- @image_comparison (baseline_images = ['polar_axes' ])
352
+ @image_comparison (baseline_images = ['polar_axes' ], style = 'default' )
353
353
def test_polar_annotations ():
354
354
# you can specify the xypoint and the xytext in different
355
355
# positions and coordinate systems, and optionally turn on a
@@ -383,7 +383,7 @@ def test_polar_annotations():
383
383
)
384
384
385
385
386
- @image_comparison (baseline_images = ['polar_coords' ],
386
+ @image_comparison (baseline_images = ['polar_coords' ], style = 'default' ,
387
387
remove_text = True )
388
388
def test_polar_coord_annotations ():
389
389
# You can also use polar notation on a catesian axes. Here the
@@ -558,9 +558,8 @@ def test_const_xy():
558
558
plt .plot (np .ones ((10 ,)), np .ones ((10 ,)), 'o' )
559
559
560
560
561
- @image_comparison (baseline_images = ['polar_wrap_180' ,
562
- 'polar_wrap_360' ,
563
- ])
561
+ @image_comparison (baseline_images = ['polar_wrap_180' , 'polar_wrap_360' ],
562
+ style = 'default' )
564
563
def test_polar_wrap ():
565
564
D2R = np .pi / 180.0
566
565
@@ -581,7 +580,8 @@ def test_polar_wrap():
581
580
plt .rgrids ([0.05 , 0.1 , 0.15 , 0.2 , 0.25 , 0.3 ])
582
581
583
582
584
- @image_comparison (baseline_images = ['polar_units' , 'polar_units_2' ])
583
+ @image_comparison (baseline_images = ['polar_units' , 'polar_units_2' ],
584
+ style = 'default' )
585
585
def test_polar_units ():
586
586
import matplotlib .testing .jpl_units as units
587
587
units .register ()
@@ -612,7 +612,7 @@ def test_polar_units():
612
612
units .UnitDblFormatter )
613
613
614
614
615
- @image_comparison (baseline_images = ['polar_rmin' ])
615
+ @image_comparison (baseline_images = ['polar_rmin' ], style = 'default' )
616
616
def test_polar_rmin ():
617
617
r = np .arange (0 , 3.0 , 0.01 )
618
618
theta = 2 * np .pi * r
@@ -661,14 +661,15 @@ def test_polar_theta_position():
661
661
ax .set_theta_direction ('clockwise' )
662
662
663
663
664
- @image_comparison (baseline_images = ['polar_rlabel_position' ])
664
+ @image_comparison (baseline_images = ['polar_rlabel_position' ], style = 'default' )
665
665
def test_polar_rlabel_position ():
666
666
fig = plt .figure ()
667
667
ax = fig .add_subplot (111 , projection = 'polar' )
668
668
ax .set_rlabel_position (315 )
669
669
670
670
671
- @image_comparison (baseline_images = ['polar_theta_wedge' ], style = 'default' )
671
+ @image_comparison (baseline_images = ['polar_theta_wedge' ], style = 'default' ,
672
+ tol = 0.01 if six .PY2 else 0 )
672
673
def test_polar_theta_limits ():
673
674
r = np .arange (0 , 3.0 , 0.01 )
674
675
theta = 2 * np .pi * r
@@ -1307,7 +1308,7 @@ def test_markevery_log_scales():
1307
1308
plt .plot (x , y , 'o' , ls = '-' , ms = 4 , markevery = case )
1308
1309
1309
1310
1310
- @image_comparison (baseline_images = ['markevery_polar' ],
1311
+ @image_comparison (baseline_images = ['markevery_polar' ], style = 'default' ,
1311
1312
remove_text = True )
1312
1313
def test_markevery_polar ():
1313
1314
cases = [None ,
0 commit comments