From: <mme...@us...> - 2008-07-29 10:53:48
|
Revision: 5916 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5916&view=rev Author: mmetz_bn Date: 2008-07-29 10:53:45 +0000 (Tue, 29 Jul 2008) Log Message: ----------- Minor hist-doc updates Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/axes.py Modified: trunk/matplotlib/lib/matplotlib/axes.py =================================================================== --- trunk/matplotlib/lib/matplotlib/axes.py 2008-07-28 19:59:19 UTC (rev 5915) +++ trunk/matplotlib/lib/matplotlib/axes.py 2008-07-29 10:53:45 UTC (rev 5916) @@ -6127,10 +6127,12 @@ is an integer input argument=numbins, *bins* + 1 bin edges will be returned, compatible with the semantics of :func:`numpy.histogram` with the *new* = True argument. + Unequally spaced bins are supported if *bins* is a sequence. *range*: The lower and upper range of the bins. Lower and upper outliers are ignored. If not provided, *range* is (x.min(), x.max()). + Range has no effect if *bins* is a sequence. *normed*: If *True*, the first element of the return tuple will @@ -6147,7 +6149,7 @@ gives the counts in that bin plus all bins for smaller values. The last bin gives the total number of datapoints. If *normed* is also *True* then the histogram is normalized such that the - last bin equals one. If *cumulative* evaluates to less that 1 + last bin equals one. If *cumulative* evaluates to less than 0 (e.g. -1), the direction of accumulation is reversed. In this case, if *normed* is also *True*, then the histogram is normalized such that the first bin equals 1. @@ -6167,8 +6169,7 @@ filled. *align*: ['left' | 'mid' | 'right' ] - Controls how the histogram is - plotted. + Controls how the histogram is plotted. - 'left': bars are centered on the left bin edges @@ -6178,7 +6179,8 @@ *orientation*: [ 'horizontal' | 'vertical' ] If 'horizontal', :func:`~matplotlib.pyplot.barh` will be - used and the *bottom* kwarg will be the left edges. + used for bar-type histograms and the *bottom* kwarg will be + the left edges. *rwidth*: the relative width of the bars as a fraction of the bin This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |