@@ -1815,6 +1815,9 @@ def test_bxp_bad_positions():
1815
1815
tol = 1 ,
1816
1816
style = 'default' )
1817
1817
def test_boxplot ():
1818
+ # Randomness used for bootstrapping.
1819
+ np .random .seed (937 )
1820
+
1818
1821
x = np .linspace (- 7 , 7 , 140 )
1819
1822
x = np .hstack ([- 25 , x , 25 ])
1820
1823
fig , ax = plt .subplots ()
@@ -1833,6 +1836,9 @@ def test_boxplot():
1833
1836
remove_text = True , extensions = ['png' ],
1834
1837
style = 'default' )
1835
1838
def test_boxplot_sym2 ():
1839
+ # Randomness used for bootstrapping.
1840
+ np .random .seed (937 )
1841
+
1836
1842
x = np .linspace (- 7 , 7 , 140 )
1837
1843
x = np .hstack ([- 25 , x , 25 ])
1838
1844
fig , [ax1 , ax2 ] = plt .subplots (1 , 2 )
@@ -1864,6 +1870,9 @@ def test_boxplot_sym():
1864
1870
style = 'default'
1865
1871
)
1866
1872
def test_boxplot_autorange_whiskers ():
1873
+ # Randomness used for bootstrapping.
1874
+ np .random .seed (937 )
1875
+
1867
1876
x = np .ones (140 )
1868
1877
x = np .hstack ([0 , x , 2 ])
1869
1878
@@ -1886,6 +1895,9 @@ def _rc_test_bxp_helper(ax, rc_dict):
1886
1895
savefig_kwarg = {'dpi' : 100 }, remove_text = True ,
1887
1896
tol = 1 , style = 'default' )
1888
1897
def test_boxplot_rc_parameters ():
1898
+ # Randomness used for bootstrapping.
1899
+ np .random .seed (937 )
1900
+
1889
1901
fig , ax = plt .subplots (3 )
1890
1902
1891
1903
rc_axis0 = {
@@ -1948,6 +1960,9 @@ def test_boxplot_rc_parameters():
1948
1960
remove_text = True , extensions = ['png' ],
1949
1961
savefig_kwarg = {'dpi' : 40 }, style = 'default' )
1950
1962
def test_boxplot_with_CIarray ():
1963
+ # Randomness used for bootstrapping.
1964
+ np .random .seed (937 )
1965
+
1951
1966
x = np .linspace (- 7 , 7 , 140 )
1952
1967
x = np .hstack ([- 25 , x , 25 ])
1953
1968
fig = plt .figure ()
0 commit comments