Thanks

Okay trying to understand the data being returned.
I have 

counts, bins = np.histogram(RedEllipticalMasses['Z_1'],bins=80)

If I print lengths I get
RedEllipticalMasses is 2514
bins = 81
and counts is 5
( It is 5 Arrays each of length 80)

Okay I can get centers with
centers = 0.5 * (bins[1:] + bins[:-1]

As you advised
But unclear how I would get their heights and why counts has 5 arrays ?



--
Sent from: http://numpy-discussion.10968.n7.nabble.com/
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion

Reply via email to