@@ -4674,7 +4674,7 @@ def legend(self, *args, **kwargs):
4674
4674
4675
4675
*framealpha*: [*None* | float]
4676
4676
If not None, alpha channel for legend frame. Default *None*.
4677
-
4677
+
4678
4678
*ncol* : integer
4679
4679
number of columns. default is 1
4680
4680
@@ -8300,7 +8300,7 @@ def hist(self, x, bins=10, range=None, normed=False, weights=None,
8300
8300
hist_kwargs = dict (range = bin_range )
8301
8301
8302
8302
n = []
8303
- mlast = bottom
8303
+ mlast = None
8304
8304
# reversed order is necessary so when stacking histogram, first
8305
8305
# dataset is on top if histogram isn't stacked, this doesn't make any
8306
8306
# difference
@@ -8318,6 +8318,8 @@ def hist(self, x, bins=10, range=None, normed=False, weights=None,
8318
8318
mlast [:] = m
8319
8319
n .append (m )
8320
8320
8321
+
8322
+
8321
8323
if cumulative :
8322
8324
slc = slice (None )
8323
8325
if cbook .is_numlike (cumulative ) and cumulative < 0 :
@@ -8369,7 +8371,7 @@ def hist(self, x, bins=10, range=None, normed=False, weights=None,
8369
8371
for m , c in zip (n , color ):
8370
8372
patch = _barfunc (bins [:- 1 ] + boffset , m , width ,
8371
8373
align = 'center' , log = log ,
8372
- color = c )
8374
+ color = c , bottom = bottom )
8373
8375
patches .append (patch )
8374
8376
boffset += dw
8375
8377
0 commit comments