-
Notifications
You must be signed in to change notification settings - Fork 98
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
DeprecationWarnings in axis.py after updating NumPy #266
Comments
Thanks for reporting the issue. What version of NumPy did you update to? Until we look into this, if you need to turn off warnings, it is possible to filter them out of your terminal output using https://docs.python.org/2/library/warnings.html . |
This is almost certainly related to #251. |
To add a little color, this is a change introduced in NumPy 1.9.0 that changes the way that NumPy compares arrays to objects to more consistently use elementwise comparison. See http://docs.scipy.org/doc/numpy/release.html#object-array-equality-comparisons In particular At the present time these are just warnings and NumPy's behaviour is unchanged, so Chaco should still be working correctly. As @jonathanrocher mentioned above, it is possible to filter these warnings out using the standard library's warning module (or even print a particular warning just once. In fact, it is a little surprising that you are seeing DeprecationWarnings at all, since they are filtered out by default in Python 2.7. We've already made the appropriate changes in Traits that will allow us to resolve this issue, and I would expect that we will be resolving it in Chaco and other libraries in the near term. |
Thanks for the movement on this. We updated straight to NumPy 1.9.1 when we noticed this issue. Although based on previous comments it appears that it was NumPy 1.9.0 that started the issue. |
Any movement on this? |
Fixed by #350 |
We updated NumPy in our project virtual environment and now we get a ton of terminal spam in the form of:
We updated chaco to the newest stable and we still get the deprecation warnings.
The text was updated successfully, but these errors were encountered: