Re: [Matplotlib-users] Access to contents of bins of a matplotlib histogram

2011-03-25 Thread Andre' Walker-Loud
Hi Chris, I think I understand what you are asking. I think the key point is I have used "np.histogram" where you are using "np.hist" When I make my plots, I use np.hist, but then to access the data, I use np.histogram. Just to demonstrate, incase this is not what you want, I have found, if

[Matplotlib-users] Access to contents of bins of a matplotlib histogram

2011-03-25 Thread Chris Edwards
Hi, I would like to access values in the bins of a matplotlib histogram. The following example script is an attempt to do this. Clearly pdf contains floating point numbers, but I am unable to access them. Help with this problem would be much appreciated. Chris