Dear all, as there was no disagreeing feedback ;-) I continued my work on the hist() method. I just committed a patch with some major re-writing of the hist() method to the trunk. I personally think it is very useful. hist() now
- supports 2D input data (i.e. multiple data, but not yet list of arrays with different length; is a TODO) - supports "stacked" histograms for multiple data - the 'edge' alignment has been changed to align a bar in the center between two edges rather than on the left edge of a bin. This seems be more convenient (to me) and plots are easier to interpret - the width keyword is Deprecated, and the new keyword rwidth is introduced to give the *relative width* of a bar rather than an absolute value (i.e. rwidth = 0.8 means the width of the bar is 80% of the width of the bin), this also works for *unequally* spaced bins - I added an example histogram_demo_extended.py to show how the new features work / look -- I like it ;-) These changes also mean some minor API breakings (alignment='edge'; width deprecated), but as hist() in the trunk has switched to future numpy.histogram(), users have to check there code anyway. I am, however, not very happy with the align keywords. I have more or less left this as is, but don't find them very logical: 'center' means centered on the left bin-edge, and 'edge' means centered on the center of the bin :-( Manuel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel