@@ -1649,78 +1649,54 @@ def test_vert_violinplot_showall():
1649
1649
ax .violinplot (data ,range (4 ),showmeans = 1 ,showextrema = 1 ,showmedians = 1 )
1650
1650
1651
1651
1652
- @image_comparison (baseline_images = ['test_vert_violinplot_customwidths' ],
1653
- extensions = ['png' ],
1654
- savefig_kwarg = {'dpi' : 40 })
1655
- def test_vert_violinplot_customwidths ():
1656
- pass
1657
-
1658
-
1659
- @image_comparison (baseline_images = ['test_vert_violinplot_custompoints_10' ],
1660
- extensions = ['png' ],
1661
- savefig_kwarg = {'dpi' : 40 })
1652
+ @image_comparison (baseline_images = ['test_vert_violinplot_custompoints_10' ])
1662
1653
def test_vert_violinplot_custompoints_10 ():
1663
- pass
1654
+ ax = plt .axes ()
1655
+ ax .violinplot (data ,range (4 ),showmeans = 0 ,showextrema = 0 ,showmedians = 0 ,10 )
1664
1656
1665
1657
1666
- @image_comparison (baseline_images = ['test_vert_violinplot_custompoints_200' ],
1667
- extensions = ['png' ],
1668
- savefig_kwarg = {'dpi' : 40 })
1658
+ @image_comparison (baseline_images = ['test_vert_violinplot_custompoints_200' ])
1669
1659
def test_vert_violinplot_custompoints_200 ():
1670
- pass
1660
+ ax = plt .axes ()
1661
+ ax .violinplot (data ,range (4 ),showmeans = 0 ,showextrema = 0 ,showmedians = 0 ,200 )
1671
1662
1672
- @image_comparison (baseline_images = ['test_horiz_violinplot_baseline' ],
1673
- extensions = ['png' ],
1674
- savefig_kwarg = {'dpi' : 40 })
1663
+ @image_comparison (baseline_images = ['test_horiz_violinplot_baseline' ])
1675
1664
def test_horiz_violinplot_baseline ():
1676
- pass
1677
-
1678
- @image_comparison (baseline_images = ['test_horiz_violinplot_showmedian' ],
1679
- extensions = ['png' ],
1680
- savefig_kwarg = {'dpi' : 40 })
1681
- def test_horiz_violinplot_showmedian ():
1682
- pass
1665
+ ax = plt .axes ()
1666
+ ax .violinplot (data ,range (4 ),0 ,showmeans = 0 ,showextrema = 0 ,showmedians = 0 )
1683
1667
1684
- @image_comparison (baseline_images = ['test_horiz_violinplot_showmean' ],
1685
- extensions = ['png' ],
1686
- savefig_kwarg = {'dpi' : 40 })
1687
- def test_horiz_violinplot_showmean ():
1688
- pass
1668
+ @image_comparison (baseline_images = ['test_horiz_violinplot_showmedians' ])
1669
+ def test_horiz_violinplot_showmedians ():
1670
+ ax = plt .axes ()
1671
+ ax .violinplot (data ,range (4 ),0 ,showmeans = 0 ,showextrema = 0 ,showmedians = 1 )
1689
1672
1673
+ @image_comparison (baseline_images = ['test_horiz_violinplot_showmeans' ])
1674
+ def test_horiz_violinplot_showmeans ():
1675
+ ax = plt .axes ()
1676
+ ax .violinplot (data ,range (4 ),0 ,showmeans = 1 ,showextrema = 0 ,showmedians = 0 )
1690
1677
1691
- @image_comparison (baseline_images = ['test_horiz_violinplot_showextrema' ],
1692
- extensions = ['png' ],
1693
- savefig_kwarg = {'dpi' : 40 })
1678
+ @image_comparison (baseline_images = ['test_horiz_violinplot_showextrema' ])
1694
1679
def test_horiz_violinplot_showextrema ():
1695
- pass
1696
-
1697
-
1698
- @image_comparison (baseline_images = ['test_horiz_violinplot_show_mme' ],
1699
- extensions = ['png' ],
1700
- savefig_kwarg = {'dpi' : 40 })
1701
- def test_horiz_violinplot_show_mme ():
1702
- pass
1680
+ ax = plt .axes ()
1681
+ ax .violinplot (data ,range (4 ),0 ,showmeans = 0 ,showextrema = 1 ,showmedians = 0 )
1703
1682
1704
1683
1705
- @image_comparison (baseline_images = ['test_horiz_violinplot_customwidths' ],
1706
- extensions = ['png' ],
1707
- savefig_kwarg = {'dpi' : 40 })
1708
- def test_horiz_violinplot_customwidths ():
1709
- pass
1684
+ @image_comparison (baseline_images = ['test_horiz_violinplot_showall' ])
1685
+ def test_horiz_violinplot_showall ():
1686
+ ax = plt .axes ()
1687
+ ax .violinplot (data ,range (4 ),0 ,showmeans = 1 ,showextrema = 1 ,showmedians = 1 )
1710
1688
1711
1689
1712
- @image_comparison (baseline_images = ['test_horiz_violinplot_custompoints_10' ],
1713
- extensions = ['png' ],
1714
- savefig_kwarg = {'dpi' : 40 })
1690
+ @image_comparison (baseline_images = ['test_horiz_violinplot_custompoints_10' ])
1715
1691
def test_horiz_violinplot_custompoints_10 ():
1716
- pass
1692
+ ax = plt .axes ()
1693
+ ax .violinplot (data ,range (4 ),0 ,showmeans = 0 ,showextrema = 0 ,showmedians = 0 ,10 )
1717
1694
1718
1695
1719
- @image_comparison (baseline_images = ['test_horiz_violinplot_custompoints_200' ],
1720
- extensions = ['png' ],
1721
- savefig_kwarg = {'dpi' : 40 })
1696
+ @image_comparison (baseline_images = ['test_horiz_violinplot_custompoints_200' ])
1722
1697
def test_horiz_violinplot_custompoints_200 ():
1723
- pass
1698
+ ax = plt .axes ()
1699
+ ax .violinplot (data ,range (4 ),0 ,showmeans = 0 ,showextrema = 0 ,showmedians = 0 ,200 )
1724
1700
1725
1701
# test error
1726
1702
def test_violinplot_bad_positions ():
0 commit comments