@@ -4792,7 +4792,7 @@ def make_iterable(x):
4792
4792
if orientation == 'vertical' :
4793
4793
self ._process_unit_info (xdata = left , ydata = height , kwargs = kwargs )
4794
4794
if log :
4795
- self .set_yscale ('log' , nonposy = 'clip' )
4795
+ self .set_yscale ('log' , nonposy = 'clip' )
4796
4796
# size width and bottom according to length of left
4797
4797
if _bottom is None :
4798
4798
if self .get_yscale () == 'log' :
@@ -4807,7 +4807,7 @@ def make_iterable(x):
4807
4807
elif orientation == 'horizontal' :
4808
4808
self ._process_unit_info (xdata = width , ydata = bottom , kwargs = kwargs )
4809
4809
if log :
4810
- self .set_xscale ('log' , nonposx = 'clip' )
4810
+ self .set_xscale ('log' , nonposx = 'clip' )
4811
4811
# size left and height according to length of bottom
4812
4812
if _left is None :
4813
4813
if self .get_xscale () == 'log' :
@@ -8116,7 +8116,7 @@ def hist(self, x, bins=10, range=None, normed=False, weights=None,
8116
8116
if normed :
8117
8117
db = np .diff (bins )
8118
8118
m = (m .astype (float ) / db ) / m .sum ()
8119
- if stacked :
8119
+ if stacked :
8120
8120
m += mlast
8121
8121
mlast [:] = m
8122
8122
n .append (m )
@@ -8172,10 +8172,10 @@ def hist(self, x, bins=10, range=None, normed=False, weights=None,
8172
8172
if bottom is None :
8173
8173
bottom = np .zeros (len (m ), np .float )
8174
8174
if stacked :
8175
- height = m - bottom
8175
+ height = m - bottom
8176
8176
else :
8177
8177
height = m
8178
- patch = _barfunc (bins [:- 1 ]+ boffset , height , width , bottom ,
8178
+ patch = _barfunc (bins [:- 1 ]+ boffset , height , width ,
8179
8179
align = 'center' , log = log ,
8180
8180
color = c , bottom = bottom )
8181
8181
patches .append (patch )
0 commit comments