On Thu, Jul 12, 2012 at 10:42:59AM -0400, Alan G Isaac wrote:
> This is essentially a query about why certain histogram types
> are not offered.  I can see two possible answers: haven't gotten
> to them, or, don't want to offer them (e.g., they're bad practice).
> 
> I will choose Stata as a point of comparison.
> http://www.stata.com/help.cgi?hist
> The types are density, fraction, frequency, and percent.
> Frequency corresponds of mpl's normed=False.
> Density corresponds of mpl's normed=True.
> Today I wanted the 'fraction' type, but mpl did not offer it.
> (Note that because of other elements of the graph, hacks like
> replacing the ticklabels won't work nicely.)
> 
> If there is not sentiment against offering these types,
> I suggest that the `normed` keyword accept strings,
> including "fraction" and "percent", and that `hist`
> be extended to produce these types.
> 
> Cheers,
> Alan Isaac
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users

+1. I think this adds more flexbility to the current histogram
implementation.

I wonder whether this would be worth a pull request?

-- 
Damon McDougall
http://damon-is-a-geek.com
B2.39
Mathematics Institute
University of Warwick
Coventry
West Midlands
CV4 7AL
United Kingdom

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to