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
Hmm, I should fix that, but you can get around it by setting ylim to a small non-zero number. The problem is histplot automatically sets lower ylim to 0, because it makes sense for a histogram, but I am not sure if there's an automated solution to this since the function won't know when it's called that it will be a log plot in your example
Hi All,
Very glad to see there are people dedicated to making matplotlib a suitable plotting solution for HEP data.
I have a problem with setting a log scale on the y-axis when plotting a pre-binned histogram (uproot reads variable from root tree -->
np.histogram
)Am I missing something or doing something wrong here?
Here is the produced plot:
Works without
plt.yscale
The text was updated successfully, but these errors were encountered: