MBravoS / splotch

Simple PLOTs, Contours and Histograms is a small package with wrapper functions designed to simplify plotting calls from matplotlib.
BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

Relevance of plots_1d.histstep #10

Closed MBravoS closed 5 years ago

MBravoS commented 5 years ago

plots_1d.hist() changed from an interpolating line, drawn between the histogram points (using pyplot.plot()), to a step plot, flat across the width of each bin (using pyplot.step()). With that change it sees to me that plots_1d.histstep() has become superseded by plots_1d.hist(). I haven't removed it yet, but if agreed it should be done in the next version.

MBravoS commented 5 years ago

While currently plots_1d.hist() cover step plots, it does not produce filled steps and/or bars, so there is still a place for plots_1d.histstep(). It may be better to rename the latter though.