Skip to content
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

boxplot stats regression on empty data #3569

Closed
tacaswell opened this issue Sep 25, 2014 · 3 comments
Closed

boxplot stats regression on empty data #3569

tacaswell opened this issue Sep 25, 2014 · 3 comments
Labels
Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Milestone

Comments

@tacaswell
Copy link
Member

See pandas-dev/pandas#8382

@tacaswell tacaswell added Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. status: needs patch labels Sep 25, 2014
@tacaswell tacaswell added this to the v1.4.1 milestone Sep 25, 2014
@onesandzeroes
Copy link

As well as failing on empty array, I think it's also failing when the array is all np.nan. Putting a nan into the empty columns was a workaround I came up with (pandas-dev/pandas#8240) that seemed to work in previous matplotlib/numpy versions, although I guess it was always at risk of breaking newer versions.

@tacaswell
Copy link
Member Author

@onesandzeroes I am a bit confused. You say it fails on all nan, but the work around to it being empty was to make it all nan....

@tacaswell
Copy link
Member Author

Ah, just hit pandas-dev/pandas#8382 now understand

tacaswell added a commit to tacaswell/matplotlib that referenced this issue Sep 27, 2014
If a data list is empty, return a dict full of np.nan.

Closes matplotlib#3569 and adresses part of pandas-dev/pandas#8382
tacaswell added a commit to tacaswell/matplotlib that referenced this issue Sep 27, 2014
If a data list is empty, return a dict full of np.nan.

Closes matplotlib#3569 and adresses part of pandas-dev/pandas#8382
tacaswell added a commit to tacaswell/matplotlib that referenced this issue Sep 27, 2014
If a data list is empty, return a dict full of np.nan.

Closes matplotlib#3569 and adresses part of pandas-dev/pandas#8382
tacaswell added a commit to tacaswell/matplotlib that referenced this issue Sep 27, 2014
If a data list is empty, return a dict full of np.nan.

Closes matplotlib#3569 and addresses part of
pandas-dev/pandas#8382
tacaswell added a commit to tacaswell/matplotlib that referenced this issue Sep 27, 2014
If a data list is empty, return a dict full of np.nan.

Closes matplotlib#3569 and addresses part of
pandas-dev/pandas#8382
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Projects
None yet
Development

No branches or pull requests

2 participants