0

Hi I have a data set for which I am using hist available in matplotlib.pyplot:

In [182]: entries, bin_edges, patches = plt.hist(d[w], bins = 50, normed = True, 
                                                 stacked = True)

I obtain a histogram instead of probability density which means "normed" or "stacked" does not work.

Am I missing something?

Thanks in advance

mechanical_meat
  • 163,903
  • 24
  • 228
  • 223
nk_science
  • 23
  • 4

0 Answers0