-
Notifications
You must be signed in to change notification settings - Fork 229
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
geom_ribbon and geom_smooth problems #654
Comments
This seems to be a regression in numpy 1.24.0. While waiting for a fix, downgrading to 1.23.x should fix the issue. |
Thanks, solved it! |
numpy/numpy#22858 should have fixed it, so this should not be an issue from numpy 1.24.1 |
I'm experiencing this same error message whenever I attempt to combine more than one geom with a date x axis on a time series plot. For example, I can use any of I have versions: numpy==1.24.3 Edit: the problem seems to not actually be with the date column, but rather with my y-variable which was an Int64 type. After casting it to a Float64, the error goes away. |
Can you create a separate issue with a minimal reproducible example? |
Yes, created #683 |
I've previously used geom_ribbon() and geom_smooth() without problems, but now I cannot make my old scripts work. I keep bumping to this:
2357
2358 """
-> 2360 return masked_where(~(np.isfinite(getdata(a))), a, copy=copy)
TypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
All data types are correct and no inf or na values are present.
The text was updated successfully, but these errors were encountered: