Closed larrybradley closed 3 years ago
ccbc1f94ff5b4a6df2fe10b8e766effd9c7b8326 missed the docs:
--- a/docs/imexam/walkthrough.rst
+++ b/docs/imexam/walkthrough.rst
@@ -145,7 +145,7 @@ You can also load a numpy array directly
and display it to our viewer::
import numpy as np
- array = np.ones((100,100), dtype=np.float) * np.random.rand(100)
+ array = np.ones((100,100), dtype=float) * np.random.rand(100)
viewer.view(array)
viewer.zoom() # by default, zoom-to-fit, or give it a scale factor
Also fixes the deprecation of numpy datatype aliases.