mplhep: Wrong default display for mplhep.histplot

The command hep.histplot(h, bins, ax=axs[0]) does not produce a histogram in HEP-style. It draws markers at the edges, which is wrong, and the lines of the histogram do not go down to zero.

hep.histplot(h, bins, edges=True, ax=axs[1]) is closer to the expected skyline, but the markers are still wrong. Apart from the wrong markers, this should be the default. In fact, I cannot imagine that one ever wants to have edges=False.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 18 (18 by maintainers)

Most upvoted comments

Fair enough, I can’t imagine a use case where one would actually want to show those markers, so I think we can hard-code it.

I could probably force set them in the function, but that’s not great.

Unless the markers get drawn at every corner (Mickey-mouse style), they really are not even correct and would probably not ever be useful and could be forced off, I would think.