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
behavior when plotting no data #3886
Comments
I am not convinced that this is an actual issue as the functions that raise A |
My own personal rule is that no data is still a valid use case (I do lots IIRC, I personally pushed for numpy's histogram to allow for empty input On Thu, Dec 4, 2014 at 1:27 PM, Thomas A Caswell notifications@github.com
|
Yeah, I guess I agree with @WeatherGod here: it would be nice to support empty data wherever we can (though we certainly don't currently in all cases). |
@tacaswell for a histogram it would be okay to produce an empty plot with the x and y axes, but without doing any binning. This is akin to how I would describe to someone my experimental data: first I would draw the axes, then I populate it with data. :) |
Yeah, I have come around on this. |
I have made some simple modifications to fix this issue. Please see #4119 Note: I was not able to reproduce this error with hist2d |
It should support empty data on master now... On Tue, Feb 17, 2015, 18:34 umairidris notifications@github.com wrote:
|
OK, this is odd, I have a clear memory of changing this, but can't find it... |
#3883 is what I was thinking of and the constraints did to get as relaxed as I thought they did. |
ENH : Allow empty input to hist and hexbin closes #3886
Minor issue, but some of the plotting functions work when there's no data and some don't.
The text was updated successfully, but these errors were encountered: