You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I make ratio plots of two histograms, the resulting histogram bins often contain inf or nan values. If I try to plot it with mplhep.histplot(), I get an error when I add the histtype="errorbar" option (no crash when using the default `histtype="step"). I'm using version 0.3.25. A few months back, this used to work without issues.
Thanks for the report @mreininghaus. Indeed the tags seem right, as that's where the underlying logic was reorganized a bit. It's interesting the error only happens down the line in mpl but it apparently worked previously. I'll take a look.
When I make ratio plots of two histograms, the resulting histogram bins often contain
inf
ornan
values. If I try to plot it withmplhep.histplot()
, I get an error when I add thehisttype="errorbar"
option (no crash when using the default `histtype="step"). I'm using version 0.3.25. A few months back, this used to work without issues.Code to reproduce the error:
traceback:
The text was updated successfully, but these errors were encountered: