All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
plot.py
Go to the documentation of this file.
1 import numpy as np
2 
3 def makehist(plt, N, bins, **kwargs):
4  plt.hist(bins[:-1], bins, weights=N, **kwargs)
def makehist
Definition: plot.py:3