@@ -2992,10 +2992,10 @@ def hexbin(x, y, C=None, gridsize=100, bins=None, xscale='linear',
2992
2992
# This function was autogenerated by boilerplate.py. Do not edit as
2993
2993
# changes will be lost
2994
2994
@_autogen_docstring (Axes .hist )
2995
- def hist (x ,bins = None ,range = None ,normed = False ,weights = None ,cumulative = False ,
2995
+ def hist (x ,bins = None ,range = None ,density = None ,weights = None ,cumulative = False ,
2996
2996
bottom = None ,histtype = 'bar' ,align = 'mid' ,orientation = 'vertical' ,
2997
2997
rwidth = None ,log = False ,color = None ,label = None ,stacked = False ,
2998
- hold = None ,data = None ,** kwargs ):
2998
+ normed = None , hold = None ,data = None ,** kwargs ):
2999
2999
ax = gca ()
3000
3000
# Deprecated: allow callers to override the hold state
3001
3001
# by passing hold=True|False
@@ -3007,11 +3007,11 @@ def hist(x, bins=None, range=None, normed=False, weights=None, cumulative=False,
3007
3007
warnings .warn ("The 'hold' keyword argument is deprecated since 2.0." ,
3008
3008
mplDeprecation )
3009
3009
try :
3010
- ret = ax .hist (x ,bins = bins ,range = range ,normed = normed ,
3010
+ ret = ax .hist (x ,bins = bins ,range = range ,density = density ,
3011
3011
weights = weights ,cumulative = cumulative ,bottom = bottom ,
3012
3012
histtype = histtype ,align = align ,orientation = orientation ,
3013
3013
rwidth = rwidth ,log = log ,color = color ,label = label ,
3014
- stacked = stacked ,data = data ,** kwargs )
3014
+ stacked = stacked ,normed = normed , data = data ,** kwargs )
3015
3015
finally :
3016
3016
ax ._hold = washold
3017
3017