@@ -1412,7 +1412,8 @@ def bump(a):
1412
1412
1413
1413
@image_comparison (baseline_images = ['bxp_baseline' ],
1414
1414
extensions = ['png' ],
1415
- savefig_kwarg = {'dpi' : 40 })
1415
+ savefig_kwarg = {'dpi' : 40 },
1416
+ style = 'default' )
1416
1417
def test_bxp_baseline ():
1417
1418
np .random .seed (937 )
1418
1419
logstats = matplotlib .cbook .boxplot_stats (
@@ -1426,7 +1427,8 @@ def test_bxp_baseline():
1426
1427
1427
1428
@image_comparison (baseline_images = ['bxp_rangewhis' ],
1428
1429
extensions = ['png' ],
1429
- savefig_kwarg = {'dpi' : 40 })
1430
+ savefig_kwarg = {'dpi' : 40 },
1431
+ style = 'default' )
1430
1432
def test_bxp_rangewhis ():
1431
1433
np .random .seed (937 )
1432
1434
logstats = matplotlib .cbook .boxplot_stats (
@@ -1441,7 +1443,8 @@ def test_bxp_rangewhis():
1441
1443
1442
1444
@image_comparison (baseline_images = ['bxp_precentilewhis' ],
1443
1445
extensions = ['png' ],
1444
- savefig_kwarg = {'dpi' : 40 })
1446
+ savefig_kwarg = {'dpi' : 40 },
1447
+ style = 'default' )
1445
1448
def test_bxp_precentilewhis ():
1446
1449
np .random .seed (937 )
1447
1450
logstats = matplotlib .cbook .boxplot_stats (
@@ -1456,7 +1459,8 @@ def test_bxp_precentilewhis():
1456
1459
1457
1460
@image_comparison (baseline_images = ['bxp_with_xlabels' ],
1458
1461
extensions = ['png' ],
1459
- savefig_kwarg = {'dpi' : 40 })
1462
+ savefig_kwarg = {'dpi' : 40 },
1463
+ style = 'default' )
1460
1464
def test_bxp_with_xlabels ():
1461
1465
np .random .seed (937 )
1462
1466
logstats = matplotlib .cbook .boxplot_stats (
@@ -1472,7 +1476,8 @@ def test_bxp_with_xlabels():
1472
1476
1473
1477
@image_comparison (baseline_images = ['bxp_horizontal' ],
1474
1478
remove_text = True , extensions = ['png' ],
1475
- savefig_kwarg = {'dpi' : 40 })
1479
+ savefig_kwarg = {'dpi' : 40 },
1480
+ style = 'default' )
1476
1481
def test_bxp_horizontal ():
1477
1482
np .random .seed (937 )
1478
1483
logstats = matplotlib .cbook .boxplot_stats (
@@ -1486,7 +1491,8 @@ def test_bxp_horizontal():
1486
1491
1487
1492
@image_comparison (baseline_images = ['bxp_with_ylabels' ],
1488
1493
extensions = ['png' ],
1489
- savefig_kwarg = {'dpi' : 40 })
1494
+ savefig_kwarg = {'dpi' : 40 },
1495
+ style = 'default' )
1490
1496
def test_bxp_with_ylabels ():
1491
1497
np .random .seed (937 )
1492
1498
logstats = matplotlib .cbook .boxplot_stats (
@@ -1502,7 +1508,8 @@ def test_bxp_with_ylabels():
1502
1508
1503
1509
@image_comparison (baseline_images = ['bxp_patchartist' ],
1504
1510
remove_text = True , extensions = ['png' ],
1505
- savefig_kwarg = {'dpi' : 40 })
1511
+ savefig_kwarg = {'dpi' : 40 },
1512
+ style = 'default' )
1506
1513
def test_bxp_patchartist ():
1507
1514
np .random .seed (937 )
1508
1515
logstats = matplotlib .cbook .boxplot_stats (
@@ -1516,7 +1523,8 @@ def test_bxp_patchartist():
1516
1523
1517
1524
@image_comparison (baseline_images = ['bxp_custompatchartist' ],
1518
1525
remove_text = True , extensions = ['png' ],
1519
- savefig_kwarg = {'dpi' : 40 })
1526
+ savefig_kwarg = {'dpi' : 40 },
1527
+ style = 'default' )
1520
1528
def test_bxp_custompatchartist ():
1521
1529
np .random .seed (937 )
1522
1530
logstats = matplotlib .cbook .boxplot_stats (
@@ -1531,7 +1539,8 @@ def test_bxp_custompatchartist():
1531
1539
1532
1540
@image_comparison (baseline_images = ['bxp_customoutlier' ],
1533
1541
remove_text = True , extensions = ['png' ],
1534
- savefig_kwarg = {'dpi' : 40 })
1542
+ savefig_kwarg = {'dpi' : 40 },
1543
+ style = 'default' )
1535
1544
def test_bxp_customoutlier ():
1536
1545
np .random .seed (937 )
1537
1546
logstats = matplotlib .cbook .boxplot_stats (
@@ -1546,7 +1555,8 @@ def test_bxp_customoutlier():
1546
1555
1547
1556
@image_comparison (baseline_images = ['bxp_withmean_custompoint' ],
1548
1557
remove_text = True , extensions = ['png' ],
1549
- savefig_kwarg = {'dpi' : 40 })
1558
+ savefig_kwarg = {'dpi' : 40 },
1559
+ style = 'default' )
1550
1560
def test_bxp_showcustommean ():
1551
1561
np .random .seed (937 )
1552
1562
logstats = matplotlib .cbook .boxplot_stats (
@@ -1561,7 +1571,8 @@ def test_bxp_showcustommean():
1561
1571
1562
1572
@image_comparison (baseline_images = ['bxp_custombox' ],
1563
1573
remove_text = True , extensions = ['png' ],
1564
- savefig_kwarg = {'dpi' : 40 })
1574
+ savefig_kwarg = {'dpi' : 40 },
1575
+ style = 'default' )
1565
1576
def test_bxp_custombox ():
1566
1577
np .random .seed (937 )
1567
1578
logstats = matplotlib .cbook .boxplot_stats (
@@ -1576,7 +1587,8 @@ def test_bxp_custombox():
1576
1587
1577
1588
@image_comparison (baseline_images = ['bxp_custommedian' ],
1578
1589
remove_text = True , extensions = ['png' ],
1579
- savefig_kwarg = {'dpi' : 40 })
1590
+ savefig_kwarg = {'dpi' : 40 },
1591
+ style = 'default' )
1580
1592
def test_bxp_custommedian ():
1581
1593
np .random .seed (937 )
1582
1594
logstats = matplotlib .cbook .boxplot_stats (
@@ -1591,7 +1603,8 @@ def test_bxp_custommedian():
1591
1603
1592
1604
@image_comparison (baseline_images = ['bxp_customcap' ],
1593
1605
remove_text = True , extensions = ['png' ],
1594
- savefig_kwarg = {'dpi' : 40 })
1606
+ savefig_kwarg = {'dpi' : 40 },
1607
+ style = 'default' )
1595
1608
def test_bxp_customcap ():
1596
1609
np .random .seed (937 )
1597
1610
logstats = matplotlib .cbook .boxplot_stats (
@@ -1606,7 +1619,8 @@ def test_bxp_customcap():
1606
1619
1607
1620
@image_comparison (baseline_images = ['bxp_customwhisker' ],
1608
1621
remove_text = True , extensions = ['png' ],
1609
- savefig_kwarg = {'dpi' : 40 })
1622
+ savefig_kwarg = {'dpi' : 40 },
1623
+ style = 'default' )
1610
1624
def test_bxp_customwhisker ():
1611
1625
np .random .seed (937 )
1612
1626
logstats = matplotlib .cbook .boxplot_stats (
@@ -1621,7 +1635,8 @@ def test_bxp_customwhisker():
1621
1635
1622
1636
@image_comparison (baseline_images = ['bxp_withnotch' ],
1623
1637
remove_text = True , extensions = ['png' ],
1624
- savefig_kwarg = {'dpi' : 40 })
1638
+ savefig_kwarg = {'dpi' : 40 },
1639
+ style = 'default' )
1625
1640
def test_bxp_shownotches ():
1626
1641
np .random .seed (937 )
1627
1642
logstats = matplotlib .cbook .boxplot_stats (
@@ -1635,7 +1650,8 @@ def test_bxp_shownotches():
1635
1650
1636
1651
@image_comparison (baseline_images = ['bxp_nocaps' ],
1637
1652
remove_text = True , extensions = ['png' ],
1638
- savefig_kwarg = {'dpi' : 40 })
1653
+ savefig_kwarg = {'dpi' : 40 },
1654
+ style = 'default' )
1639
1655
def test_bxp_nocaps ():
1640
1656
np .random .seed (937 )
1641
1657
logstats = matplotlib .cbook .boxplot_stats (
@@ -1649,7 +1665,8 @@ def test_bxp_nocaps():
1649
1665
1650
1666
@image_comparison (baseline_images = ['bxp_nobox' ],
1651
1667
remove_text = True , extensions = ['png' ],
1652
- savefig_kwarg = {'dpi' : 40 })
1668
+ savefig_kwarg = {'dpi' : 40 },
1669
+ style = 'default' )
1653
1670
def test_bxp_nobox ():
1654
1671
np .random .seed (937 )
1655
1672
logstats = matplotlib .cbook .boxplot_stats (
@@ -1663,7 +1680,8 @@ def test_bxp_nobox():
1663
1680
1664
1681
@image_comparison (baseline_images = ['bxp_withmean_point' ],
1665
1682
remove_text = True , extensions = ['png' ],
1666
- savefig_kwarg = {'dpi' : 40 })
1683
+ savefig_kwarg = {'dpi' : 40 },
1684
+ style = 'default' )
1667
1685
def test_bxp_showmean ():
1668
1686
np .random .seed (937 )
1669
1687
logstats = matplotlib .cbook .boxplot_stats (
@@ -1677,7 +1695,8 @@ def test_bxp_showmean():
1677
1695
1678
1696
@image_comparison (baseline_images = ['bxp_withmean_line' ],
1679
1697
remove_text = True , extensions = ['png' ],
1680
- savefig_kwarg = {'dpi' : 40 })
1698
+ savefig_kwarg = {'dpi' : 40 },
1699
+ style = 'default' )
1681
1700
def test_bxp_showmeanasline ():
1682
1701
np .random .seed (937 )
1683
1702
logstats = matplotlib .cbook .boxplot_stats (
@@ -1691,7 +1710,8 @@ def test_bxp_showmeanasline():
1691
1710
1692
1711
@image_comparison (baseline_images = ['bxp_scalarwidth' ],
1693
1712
remove_text = True , extensions = ['png' ],
1694
- savefig_kwarg = {'dpi' : 40 })
1713
+ savefig_kwarg = {'dpi' : 40 },
1714
+ style = 'default' )
1695
1715
def test_bxp_scalarwidth ():
1696
1716
np .random .seed (937 )
1697
1717
logstats = matplotlib .cbook .boxplot_stats (
@@ -1705,7 +1725,8 @@ def test_bxp_scalarwidth():
1705
1725
1706
1726
@image_comparison (baseline_images = ['bxp_customwidths' ],
1707
1727
remove_text = True , extensions = ['png' ],
1708
- savefig_kwarg = {'dpi' : 40 })
1728
+ savefig_kwarg = {'dpi' : 40 },
1729
+ style = 'default' )
1709
1730
def test_bxp_customwidths ():
1710
1731
np .random .seed (937 )
1711
1732
logstats = matplotlib .cbook .boxplot_stats (
@@ -1719,7 +1740,8 @@ def test_bxp_customwidths():
1719
1740
1720
1741
@image_comparison (baseline_images = ['bxp_custompositions' ],
1721
1742
remove_text = True , extensions = ['png' ],
1722
- savefig_kwarg = {'dpi' : 40 })
1743
+ savefig_kwarg = {'dpi' : 40 },
1744
+ style = 'default' )
1723
1745
def test_bxp_custompositions ():
1724
1746
np .random .seed (937 )
1725
1747
logstats = matplotlib .cbook .boxplot_stats (
@@ -1755,7 +1777,9 @@ def test_bxp_bad_positions():
1755
1777
assert_raises (ValueError , ax .bxp , logstats , positions = [2 , 3 ])
1756
1778
1757
1779
1758
- @image_comparison (baseline_images = ['boxplot' , 'boxplot' ], tol = 1 )
1780
+ @image_comparison (baseline_images = ['boxplot' , 'boxplot' ],
1781
+ tol = 1 ,
1782
+ style = 'default' )
1759
1783
def test_boxplot ():
1760
1784
x = np .linspace (- 7 , 7 , 140 )
1761
1785
x = np .hstack ([- 25 , x , 25 ])
@@ -1772,7 +1796,8 @@ def test_boxplot():
1772
1796
1773
1797
1774
1798
@image_comparison (baseline_images = ['boxplot_sym2' ],
1775
- remove_text = True , extensions = ['png' ])
1799
+ remove_text = True , extensions = ['png' ],
1800
+ style = 'default' )
1776
1801
def test_boxplot_sym2 ():
1777
1802
x = np .linspace (- 7 , 7 , 140 )
1778
1803
x = np .hstack ([- 25 , x , 25 ])
@@ -1787,7 +1812,8 @@ def test_boxplot_sym2():
1787
1812
1788
1813
@image_comparison (baseline_images = ['boxplot_sym' ],
1789
1814
remove_text = True , extensions = ['png' ],
1790
- savefig_kwarg = {'dpi' : 40 })
1815
+ savefig_kwarg = {'dpi' : 40 },
1816
+ style = 'default' )
1791
1817
def test_boxplot_sym ():
1792
1818
x = np .linspace (- 7 , 7 , 140 )
1793
1819
x = np .hstack ([- 25 , x , 25 ])
@@ -1801,6 +1827,7 @@ def test_boxplot_sym():
1801
1827
baseline_images = ['boxplot_autorange_false_whiskers' ,
1802
1828
'boxplot_autorange_true_whiskers' ],
1803
1829
extensions = ['png' ],
1830
+ style = 'default'
1804
1831
)
1805
1832
def test_boxplot_autorange_whiskers ():
1806
1833
x = np .ones (140 )
@@ -1822,7 +1849,8 @@ def _rc_test_bxp_helper(ax, rc_dict):
1822
1849
return ax
1823
1850
1824
1851
@image_comparison (baseline_images = ['boxplot_rc_parameters' ],
1825
- savefig_kwarg = {'dpi' : 100 }, remove_text = True , tol = 1 )
1852
+ savefig_kwarg = {'dpi' : 100 }, remove_text = True ,
1853
+ tol = 1 , style = 'default' )
1826
1854
def test_boxplot_rc_parameters ():
1827
1855
fig , ax = plt .subplots (3 )
1828
1856
@@ -1884,7 +1912,7 @@ def test_boxplot_rc_parameters():
1884
1912
1885
1913
@image_comparison (baseline_images = ['boxplot_with_CIarray' ],
1886
1914
remove_text = True , extensions = ['png' ],
1887
- savefig_kwarg = {'dpi' : 40 })
1915
+ savefig_kwarg = {'dpi' : 40 }, style = 'default' )
1888
1916
def test_boxplot_with_CIarray ():
1889
1917
x = np .linspace (- 7 , 7 , 140 )
1890
1918
x = np .hstack ([- 25 , x , 25 ])
@@ -1900,7 +1928,7 @@ def test_boxplot_with_CIarray():
1900
1928
1901
1929
@image_comparison (baseline_images = ['boxplot_no_inverted_whisker' ],
1902
1930
remove_text = True , extensions = ['png' ],
1903
- savefig_kwarg = {'dpi' : 40 })
1931
+ savefig_kwarg = {'dpi' : 40 }, style = 'default' )
1904
1932
def test_boxplot_no_weird_whisker ():
1905
1933
x = np .array ([3 , 9000 , 150 , 88 , 350 , 200000 , 1400 , 960 ],
1906
1934
dtype = np .float64 )
@@ -1947,7 +1975,7 @@ def test_boxplot_bad_ci_2():
1947
1975
1948
1976
@image_comparison (baseline_images = ['boxplot_mod_artists_after_plotting' ],
1949
1977
remove_text = True , extensions = ['png' ],
1950
- savefig_kwarg = {'dpi' : 40 })
1978
+ savefig_kwarg = {'dpi' : 40 }, style = 'default' )
1951
1979
def test_boxplot_mod_artist_after_plotting ():
1952
1980
x = [0.15 , 0.11 , 0.06 , 0.06 , 0.12 , 0.56 , - 0.56 ]
1953
1981
fig , ax = plt .subplots ()
0 commit comments