-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use unbinned values as input to histplot
#511
Comments
Hi @JamesJieranShen welcome! Can you explain why |
There's many features provided by |
Thanks for the clarification. I am happy to hear you find The main reason why something like that is not currently supported is because However, one way I can see that this could work without being confusing to users would be a new |
Hello! Thanks for creating this great library (along with uproot, awkward, and many others!).
In my daily workflow, I have found many of the features provided by
histplot
to be extremely useful. However, I find myself using this as a replacement toplt.hist
a lot when it comes to simple histograms. However, I would have to create this in two separate steps, first binning the values withnp.histogram
, and then feed the output tohistplot
. It would be great if I can directly pass an array of values and havehistplot
create a nice histogram, with the proper mplhep styling and features.In short, I am looking for something like
Does something like this already exist? If not, I think this would be a great feature to add. As far as I can tell, implementing something like this would simply involve calling
np.histogram
and thenhistplot
.The text was updated successfully, but these errors were encountered: