From: John H. <jdh...@ac...> - 2003-12-15 14:16:56
|
>>>>> "K" == K KISHIMOTO <ko...@us...> writes: K> I am sorry that my last explanation was insufficient. The K> point is that I think it is inefficient to execute the K> following two lines in matplotlib.mlab.hist when I know the K> result of "n" already. Good point ... K> Another point is hist() does not support error bar plot (but K> bar() called from hist() does support.) Another good point.... K> So, I propose again def hist(x, bins=10, noplot=0, normed=0, K> weights=None, errors=None , **kwargs): in matplotlib.matplab. K> I think if matplotlib supports this by default, it is very K> smart and usefull to many users when making histogram plots K> with matplotlib than letting hist() be mainly for the purpose K> of "calculating" histograms. OK, I'll give it some thought. Sounds reasonable enough. It doesn't break backwards compatibility, adds useful features, and is more consistent with bar. JDH |