-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
pyplot fill_between warning since upgrade of numpy to 1.10.10 #5209
Comments
Which version of matplotlib? I think we have already fixed this on master and it will be in matplotlib 1.5.0 At the moment you can ignore the warning. It will not actually break anything before Numpy actually makes the change. |
I also ran into this problem with numpy v1.10.0 and matplotlib 1.4.3 |
Please test if this is still an issue with 1.5.0rc2 or master. I think we have already fixed this between 1.4.3 and the current master |
Closing as this is fixed in master https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/collections.py#L624 |
Thanks a lot. Do you have any idea of the release date of the 1.5.0? Best regards. |
"soon", I think we are down to documentation related issues. https://github.com/matplotlib/matplotlib/milestones/next%20point%20release%20(1.5.0) |
I've upgraded to matplotlib 1.5.1, but still get the error when doing a scatterplot (regular plot is no problem...) Any ideas? Should I downgrade numpy? |
@pm0kjp The original issue should be fixed but you are perhaps seeing something similar. Can you please provide a minimal example that demonstrates the issue that you are seeing. Also this is not an error with the latest release of numpy but a warning that something will change in the future thus there is no reason to downgrade numpy. |
I've upgraded to matplotlib 1.5.1, but still get the error when doing a fill_between. |
@fretchen Do you mean warning rather than error? AFAIK no released version of numpy raises an error here but it does raise a warning. Furthermore I cannot reproduce the warning in the original example at the top of this bug report. Original example: import matplotlib.pyplot as plt
plt.fill_between([0, 1], [0, 1])
plt.show() Running this with Matplotlib 1.4.3 I see the warning:
But I don't see the warning with Matplotlib 1.5.1 |
I am sorry. I forgot to restart the kernel after I installed the matplotlib. So consider my comment to be irrelevant. |
@fretchen no problem |
matplotlib.pyplot.drawcountries() raises a FutureWarning. This will suppress is until it's fixed in Matplotlib 1.5. See matplotlib/matplotlib#5209
The follow warning gets raised by Matplotlib when calling `matplotlib.pyplot.savefig()`: .../lib/python3.4/site-packages/matplotlib/collections.py:590: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison See [this Matplotlib issue](matplotlib/matplotlib#5209)
Have the same issue as OP, getting:
|
You need to upgrade Matplotlib. There is no such line in the current release and even this issue was fixed in 1.5.0. |
Hello,
Since I've upgraded my python 3 environment, I get a warning, as demonstrated below:
This gives the warning:
The upgraded libraries are listed below, I'm pretty sure that this comes from the numpy upgrade
Best regards.
The text was updated successfully, but these errors were encountered: