@@ -555,7 +555,7 @@ def test_single_point():
555
555
plt .plot ('b' , 'b' , 'o' , data = data )
556
556
557
557
558
- @image_comparison (baseline_images = ['single_date' ])
558
+ @image_comparison (baseline_images = ['single_date' ], tol = 1.97 )
559
559
def test_single_date ():
560
560
time1 = [721964.0 ]
561
561
data1 = [- 65.54 ]
@@ -739,8 +739,7 @@ def test_polar_rlabel_position():
739
739
ax .tick_params (rotation = 'auto' )
740
740
741
741
742
- @image_comparison (baseline_images = ['polar_theta_wedge' ], style = 'default' ,
743
- tol = 0.01 if six .PY2 else 0 )
742
+ @image_comparison (baseline_images = ['polar_theta_wedge' ], style = 'default' )
744
743
def test_polar_theta_limits ():
745
744
r = np .arange (0 , 3.0 , 0.01 )
746
745
theta = 2 * np .pi * r
@@ -1023,7 +1022,7 @@ def test_fill_between_interpolate():
1023
1022
1024
1023
1025
1024
@image_comparison (baseline_images = ['fill_between_interpolate_decreasing' ],
1026
- style = 'mpl20' , remove_text = True )
1025
+ style = 'mpl20' , remove_text = True , tol = 0.78 )
1027
1026
def test_fill_between_interpolate_decreasing ():
1028
1027
p = np .array ([724.3 , 700 , 655 ])
1029
1028
t = np .array ([9.4 , 7 , 2.2 ])
@@ -1105,7 +1104,7 @@ def test_pcolormesh():
1105
1104
1106
1105
1107
1106
@image_comparison (baseline_images = ['pcolormesh_datetime_axis' ],
1108
- extensions = ['png' ], remove_text = False )
1107
+ extensions = ['png' ], remove_text = False , tol = 0.19 )
1109
1108
def test_pcolormesh_datetime_axis ():
1110
1109
fig = plt .figure ()
1111
1110
fig .subplots_adjust (hspace = 0.4 , top = 0.98 , bottom = .15 )
@@ -1131,7 +1130,7 @@ def test_pcolormesh_datetime_axis():
1131
1130
1132
1131
1133
1132
@image_comparison (baseline_images = ['pcolor_datetime_axis' ],
1134
- extensions = ['png' ], remove_text = False )
1133
+ extensions = ['png' ], remove_text = False , tol = 0.19 )
1135
1134
def test_pcolor_datetime_axis ():
1136
1135
fig = plt .figure ()
1137
1136
fig .subplots_adjust (hspace = 0.4 , top = 0.98 , bottom = .15 )
@@ -1188,7 +1187,7 @@ def test_canonical():
1188
1187
1189
1188
1190
1189
@image_comparison (baseline_images = ['arc_angles' ], remove_text = True ,
1191
- style = 'default' , extensions = ['png' ])
1190
+ style = 'default' , extensions = ['png' ], tol = 0.17 )
1192
1191
def test_arc_angles ():
1193
1192
from matplotlib import patches
1194
1193
# Ellipse parameters
@@ -2450,7 +2449,7 @@ def test_boxplot_mod_artist_after_plotting():
2450
2449
2451
2450
@image_comparison (baseline_images = ['violinplot_vert_baseline' ,
2452
2451
'violinplot_vert_baseline' ],
2453
- extensions = ['png' ])
2452
+ extensions = ['png' ], tol = 0.24 )
2454
2453
def test_vert_violinplot_baseline ():
2455
2454
# First 9 digits of frac(sqrt(2))
2456
2455
np .random .seed (414213562 )
@@ -2468,7 +2467,7 @@ def test_vert_violinplot_baseline():
2468
2467
2469
2468
2470
2469
@image_comparison (baseline_images = ['violinplot_vert_showmeans' ],
2471
- extensions = ['png' ])
2470
+ extensions = ['png' ], tol = 0.23 )
2472
2471
def test_vert_violinplot_showmeans ():
2473
2472
ax = plt .axes ()
2474
2473
# First 9 digits of frac(sqrt(3))
@@ -2479,7 +2478,7 @@ def test_vert_violinplot_showmeans():
2479
2478
2480
2479
2481
2480
@image_comparison (baseline_images = ['violinplot_vert_showextrema' ],
2482
- extensions = ['png' ])
2481
+ extensions = ['png' ], tol = 0.23 )
2483
2482
def test_vert_violinplot_showextrema ():
2484
2483
ax = plt .axes ()
2485
2484
# First 9 digits of frac(sqrt(5))
@@ -2490,7 +2489,7 @@ def test_vert_violinplot_showextrema():
2490
2489
2491
2490
2492
2491
@image_comparison (baseline_images = ['violinplot_vert_showmedians' ],
2493
- extensions = ['png' ])
2492
+ extensions = ['png' ], tol = 0.23 )
2494
2493
def test_vert_violinplot_showmedians ():
2495
2494
ax = plt .axes ()
2496
2495
# First 9 digits of frac(sqrt(7))
@@ -2501,7 +2500,7 @@ def test_vert_violinplot_showmedians():
2501
2500
2502
2501
2503
2502
@image_comparison (baseline_images = ['violinplot_vert_showall' ],
2504
- extensions = ['png' ])
2503
+ extensions = ['png' ], tol = 0.2 )
2505
2504
def test_vert_violinplot_showall ():
2506
2505
ax = plt .axes ()
2507
2506
# First 9 digits of frac(sqrt(11))
@@ -2512,7 +2511,7 @@ def test_vert_violinplot_showall():
2512
2511
2513
2512
2514
2513
@image_comparison (baseline_images = ['violinplot_vert_custompoints_10' ],
2515
- extensions = ['png' ])
2514
+ extensions = ['png' ], tol = 0.22 )
2516
2515
def test_vert_violinplot_custompoints_10 ():
2517
2516
ax = plt .axes ()
2518
2517
# First 9 digits of frac(sqrt(13))
@@ -2523,7 +2522,7 @@ def test_vert_violinplot_custompoints_10():
2523
2522
2524
2523
2525
2524
@image_comparison (baseline_images = ['violinplot_vert_custompoints_200' ],
2526
- extensions = ['png' ])
2525
+ extensions = ['png' ], tol = 0.22 )
2527
2526
def test_vert_violinplot_custompoints_200 ():
2528
2527
ax = plt .axes ()
2529
2528
# First 9 digits of frac(sqrt(17))
@@ -2534,7 +2533,7 @@ def test_vert_violinplot_custompoints_200():
2534
2533
2535
2534
2536
2535
@image_comparison (baseline_images = ['violinplot_horiz_baseline' ],
2537
- extensions = ['png' ])
2536
+ extensions = ['png' ], tol = 0.2 )
2538
2537
def test_horiz_violinplot_baseline ():
2539
2538
ax = plt .axes ()
2540
2539
# First 9 digits of frac(sqrt(19))
@@ -2545,7 +2544,7 @@ def test_horiz_violinplot_baseline():
2545
2544
2546
2545
2547
2546
@image_comparison (baseline_images = ['violinplot_horiz_showmedians' ],
2548
- extensions = ['png' ])
2547
+ extensions = ['png' ], tol = 0.23 )
2549
2548
def test_horiz_violinplot_showmedians ():
2550
2549
ax = plt .axes ()
2551
2550
# First 9 digits of frac(sqrt(23))
@@ -2556,7 +2555,7 @@ def test_horiz_violinplot_showmedians():
2556
2555
2557
2556
2558
2557
@image_comparison (baseline_images = ['violinplot_horiz_showmeans' ],
2559
- extensions = ['png' ])
2558
+ extensions = ['png' ], tol = 0.25 )
2560
2559
def test_horiz_violinplot_showmeans ():
2561
2560
ax = plt .axes ()
2562
2561
# First 9 digits of frac(sqrt(29))
@@ -2567,7 +2566,7 @@ def test_horiz_violinplot_showmeans():
2567
2566
2568
2567
2569
2568
@image_comparison (baseline_images = ['violinplot_horiz_showextrema' ],
2570
- extensions = ['png' ])
2569
+ extensions = ['png' ], tol = 0.2 )
2571
2570
def test_horiz_violinplot_showextrema ():
2572
2571
ax = plt .axes ()
2573
2572
# First 9 digits of frac(sqrt(31))
@@ -2578,7 +2577,7 @@ def test_horiz_violinplot_showextrema():
2578
2577
2579
2578
2580
2579
@image_comparison (baseline_images = ['violinplot_horiz_showall' ],
2581
- extensions = ['png' ])
2580
+ extensions = ['png' ], tol = 0.19 )
2582
2581
def test_horiz_violinplot_showall ():
2583
2582
ax = plt .axes ()
2584
2583
# First 9 digits of frac(sqrt(37))
@@ -2589,7 +2588,7 @@ def test_horiz_violinplot_showall():
2589
2588
2590
2589
2591
2590
@image_comparison (baseline_images = ['violinplot_horiz_custompoints_10' ],
2592
- extensions = ['png' ])
2591
+ extensions = ['png' ], tol = 0.22 )
2593
2592
def test_horiz_violinplot_custompoints_10 ():
2594
2593
ax = plt .axes ()
2595
2594
# First 9 digits of frac(sqrt(41))
@@ -2600,7 +2599,7 @@ def test_horiz_violinplot_custompoints_10():
2600
2599
2601
2600
2602
2601
@image_comparison (baseline_images = ['violinplot_horiz_custompoints_200' ],
2603
- extensions = ['png' ])
2602
+ extensions = ['png' ], tol = 0.22 )
2604
2603
def test_horiz_violinplot_custompoints_200 ():
2605
2604
ax = plt .axes ()
2606
2605
# First 9 digits of frac(sqrt(43))
@@ -3947,7 +3946,7 @@ def test_psd_noise():
3947
3946
3948
3947
3949
3948
@image_comparison (baseline_images = ['csd_freqs' ], remove_text = True ,
3950
- extensions = ['png' ], tol = 0.002 )
3949
+ extensions = ['png' ], tol = 0.21 )
3951
3950
def test_csd_freqs ():
3952
3951
'''test axes.csd with sinusoidal stimuli'''
3953
3952
n = 10000
@@ -4806,7 +4805,7 @@ def test_rc_spines():
4806
4805
4807
4806
4808
4807
@image_comparison (baseline_images = ['rc_grid' ], extensions = ['png' ],
4809
- savefig_kwarg = {'dpi' : 40 })
4808
+ savefig_kwarg = {'dpi' : 40 }, tol = 0.2 )
4810
4809
def test_rc_grid ():
4811
4810
fig = plt .figure ()
4812
4811
rc_dict0 = {
@@ -5301,7 +5300,7 @@ def test_date_timezone_y():
5301
5300
5302
5301
5303
5302
@image_comparison (baseline_images = ['date_timezone_x_and_y' ],
5304
- extensions = ['png' ])
5303
+ extensions = ['png' ], tol = 3.05 )
5305
5304
def test_date_timezone_x_and_y ():
5306
5305
# Tests issue 5575
5307
5306
time_index = [pytz .timezone ('UTC' ).localize (datetime .datetime (
0 commit comments