scikit-hep / cabinetry

design and steer profile likelihood fits
https://cabinetry.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
26 stars 19 forks source link

Refactor histogram visualizations to use `stairs` instead of `bar` #460

Open alexander-held opened 5 months ago

alexander-held commented 5 months ago

Using stairs should presumably result in an artist structure that is more suitable for post-processing. Instead of having per-bin artists, histogram elements should have artists spanning all bins.

stairs demo: https://matplotlib.org/stable/gallery/lines_bars_and_markers/stairs_demo.html