Behavior of mplhep.histplot(..., yerr=None)
different than expected
#341
Unanswered
matthewfeickert
asked this question in
Q&A
Replies: 1 comment
-
Sorry for the delay @matthewfeickert. I would say this behaviour is actually as intended as a consequence of the large set of types that can go into The logic should be
I think this is reasonable, but let me know if you have any suggestions to make the API more intuitive. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I use the attached
example.root
(which has to be zipped up for GitHub)example.zip
with
mplhep
, the following codeproduces
plot_step_yerr_None.png
:plot_step_yerr_0.png
:This behavior seems a bit odd, as it seems that setting
yerr=None
should allow you to get a histogram without Poisson uncertainties drawn on it. There are times when you just want to be able to plot the histogram bin counts as the uncertanties aren't meaningful, or you're interested in the shape.Is this behavior expected?
Beta Was this translation helpful? Give feedback.
All reactions