(Plotting python API) Improve histogram binning
Summary
This MR introduces the following changes
- Updated binning options in histogram plotting API (to be closer to the
numpy.histogram
way of doing it):- old: only accepted array of bin edges
- new: array of bin edges or number of bins + option to specify the range if
bins
is an integer
Conformity
Edited by Joschka Birk