-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Better error message for plots (or facets with free scales) with all missing values. #791
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
Comments
I've encountered the same issue in a large dataset with faceted plots after melting the dataframe. Is there any workaround? |
This sounds like a great feature/horrible bug, but unfortunately we don't currently have the development bandwidth to support it/fix it. If you'd like to submit a pull request that implements this feature/fixes this bug, please follow the instructions in the development vignette. |
I have the same problem if the y values are Inf |
not sure if this helps but there is a workaround with ggplot2 v1.0.1 (see http://stackoverflow.com/questions/23593159): The solution for me was to make sure my data.frame was nice and clean, by removing all NA values from the column with the Y axis data. |
I just ran into this problem having upgraded to ggplot 2.0 (which was unrelated, but I did not know that at that time) and it took me 15 mins to figure out what was actually wrong. Yeah, if you can, please provide a better error message that makes it easier to spot that, for example, all your input data is NA. |
Not just for |
No one supplied any reprexes apart from the initial, but I think this is fixed now. |
This bit me in a large,faceted plot where it wasn't entirely obvious what was going on:
This is more like what caught me:
Is it possible to catch this error?
The text was updated successfully, but these errors were encountered: