-
Notifications
You must be signed in to change notification settings - Fork 156
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
Problem in Visualization for Sample code #171
Labels
bug
There is a problem with the coding or algorithms
Comments
Got the same problem. I fixed by changing l.71 in geomdl/visualization/VisMPL.py. self.dtype = np.float to Solved it for me. |
Same issue, the full stack trace from running the plotting example on the "Basics" page in the documentation gives:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
np.float
was a deprecated alias for the builtinfloat
. To avoid this error in existing code, usefloat
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, usenp.float64
here.To Reproduce
Steps to reproduce the behavior:
np.float
was a deprecated alias for the builtinfloat
. To avoid this error in existing code, usefloat
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, usenp.float64
here.The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
Expected Behavior
Configuration:
The text was updated successfully, but these errors were encountered: