-
Notifications
You must be signed in to change notification settings - Fork 284
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
Support iris.plot.hist and iris.quickplot.hist #3330
Comments
Hi from the other side! I found myself needing something like this recently... here is my use case: I have all of the observed temperatures for a given site, I take only those of a given month and hour, and want to see the distribution of temperatures for that hour in that month. I then plan to fit that distribution to a statistical model and use it to calculate the climatological probability of a given temperature at a given time in a given month (pretty useful!). |
For my own record, I hacked something together:
And then I did a bar plot of the cube with:
Truth be told, this is probably a good use case for something like pandas. The only way I could convince myself that it would be a good thing for Iris to have is if we needed multi-dimensional equivalents. For example, imagine having all sites, and all months, and all hours as 3 distinct dimensions, and wanted to do the same analysis and resulting in a multidimensional cube. |
@pelson we've recently enhanced |
There have been user requests for the
iris
convenience plotting capabilities to be extended such that acube
can be passed toiris.plot.hist
and/oriris.quickplot.hist
to generate histogram plots by usingmatplotlib.pyplot.hist
@BenMGeo do you have some example use cases to support his issue?
The text was updated successfully, but these errors were encountered: