File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -143,3 +143,5 @@ Bug Fixes
143
143
- Bug in `Series.from_csv` with ``header`` kwarg not setting the ``Series.name`` or the ``Series.index.name`` (:issue:`10483`)
144
144
145
145
- Bug in `groupby.var` which caused variance to be inaccurate for small float values (:issue:`10448`)
146
+
147
+ - Bug in ``Series.plot(kind='hist')`` Y Label not informative (:issue:`10485`)
Original file line number Diff line number Diff line change @@ -1001,12 +1001,12 @@ def test_kde_missing_vals(self):
1001
1001
def test_hist_kwargs (self ):
1002
1002
ax = self .ts .plot (kind = 'hist' , bins = 5 )
1003
1003
self .assertEqual (len (ax .patches ), 5 )
1004
- self ._check_text_labels (ax .yaxis .get_label (), 'Degree ' )
1004
+ self ._check_text_labels (ax .yaxis .get_label (), 'Frequency ' )
1005
1005
tm .close ()
1006
1006
1007
1007
if self .mpl_ge_1_3_1 :
1008
1008
ax = self .ts .plot (kind = 'hist' , orientation = 'horizontal' )
1009
- self ._check_text_labels (ax .xaxis .get_label (), 'Degree ' )
1009
+ self ._check_text_labels (ax .xaxis .get_label (), 'Frequency ' )
1010
1010
tm .close ()
1011
1011
1012
1012
ax = self .ts .plot (kind = 'hist' , align = 'left' , stacked = True )
Original file line number Diff line number Diff line change @@ -2005,10 +2005,10 @@ def _make_plot(self):
2005
2005
def _post_plot_logic (self ):
2006
2006
if self .orientation == 'horizontal' :
2007
2007
for ax in self .axes :
2008
- ax .set_xlabel ('Degree ' )
2008
+ ax .set_xlabel ('Frequency ' )
2009
2009
else :
2010
2010
for ax in self .axes :
2011
- ax .set_ylabel ('Degree ' )
2011
+ ax .set_ylabel ('Frequency ' )
2012
2012
2013
2013
@property
2014
2014
def orientation (self ):
You can’t perform that action at this time.
0 commit comments