enthought / mayavi

3D visualization of scientific data in Python
http://docs.enthought.com/mayavi/mayavi/
Other
1.3k stars 285 forks source link

MAINT: fix float use in wave.py #1251

Closed homosapien-lcy closed 1 year ago

homosapien-lcy commented 1 year ago

Numpy updates has deprecated many uses and this has cause problems when trying to import float from it such as what we encountered in #1250. In this instance, the "float" is imported to be used in np.zeros, thus we can simply change them to use the python builtin float by removing this import. Closes #1250

After correcting this, the import error is fixed but we will have a TypeError: order must be str, not bool #1249 which we will fix later