Hello I have createad a new branch in my fork:
https://github.com/wiso/rootpy/tree/histo-filldata
it introduce a new free function:
FillHistogram(data, *args, **kwargs)
the interesting point is the "binning" argument wich allow you to specify a particular method to automatically choose a binning for 1D histograms.
Have a look to the example
examples/plotting/fill_hist.py
here a screenshot of the result.
The implentation is not complete, I am asking for your feedback: for example is it ok to use free functions? Do you prefer a method? ...
Cheers,
Ruggero