@@ -1230,7 +1230,7 @@ def test_subplots_timeseries(self):
1230
1230
self ._check_visible (ax .get_xticklabels (minor = True ))
1231
1231
self ._check_visible (ax .xaxis .get_label ())
1232
1232
self ._check_visible (ax .get_yticklabels ())
1233
- self ._check_ticks_props (ax , xlabelsize = 7 , xrot = 45 )
1233
+ self ._check_ticks_props (ax , xlabelsize = 7 , xrot = 45 , ylabelsize = 7 )
1234
1234
1235
1235
def test_subplots_layout (self ):
1236
1236
# GH 6667
@@ -1717,13 +1717,13 @@ def test_plot_bar(self):
1717
1717
self ._check_ticks_props (ax , xrot = 90 )
1718
1718
1719
1719
ax = df .plot (kind = 'bar' , rot = 35 , fontsize = 10 )
1720
- self ._check_ticks_props (ax , xrot = 35 , xlabelsize = 10 )
1720
+ self ._check_ticks_props (ax , xrot = 35 , xlabelsize = 10 , ylabelsize = 10 )
1721
1721
1722
1722
ax = _check_plot_works (df .plot , kind = 'barh' )
1723
1723
self ._check_ticks_props (ax , yrot = 0 )
1724
1724
1725
1725
ax = df .plot (kind = 'barh' , rot = 55 , fontsize = 11 )
1726
- self ._check_ticks_props (ax , yrot = 55 , ylabelsize = 11 )
1726
+ self ._check_ticks_props (ax , yrot = 55 , ylabelsize = 11 , xlabelsize = 11 )
1727
1727
1728
1728
def _check_bar_alignment (self , df , kind = 'bar' , stacked = False ,
1729
1729
subplots = False , align = 'center' ,
@@ -2087,7 +2087,7 @@ def test_kde_df(self):
2087
2087
self ._check_ticks_props (ax , xrot = 0 )
2088
2088
2089
2089
ax = df .plot (kind = 'kde' , rot = 20 , fontsize = 5 )
2090
- self ._check_ticks_props (ax , xrot = 20 , xlabelsize = 5 )
2090
+ self ._check_ticks_props (ax , xrot = 20 , xlabelsize = 5 , ylabelsize = 5 )
2091
2091
2092
2092
axes = _check_plot_works (df .plot , kind = 'kde' , subplots = True )
2093
2093
self ._check_axes_shape (axes , axes_num = 4 , layout = (4 , 1 ))
0 commit comments