Skip to content

Commit 94ec6ec

Browse files
authored
Numpy deprecations
1 parent 1496ae3 commit 94ec6ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

active_plugins/histogramequalization.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def run(self, workspace):
175175
clip_limit = self.clip_limit.value
176176

177177
if self.do_3D.value:
178-
y_data = numpy.zeros_like(x_data, dtype=numpy.float)
178+
y_data = numpy.zeros_like(x_data, dtype=float)
179179
if self.do_framewise.value:
180180
for index, plane in enumerate(x_data):
181181
y_data[index] = skimage.exposure.equalize_adapthist(
@@ -202,7 +202,7 @@ def run(self, workspace):
202202
)
203203
else:
204204
if self.do_3D.value:
205-
y_data = numpy.zeros_like(x_data, dtype=numpy.float)
205+
y_data = numpy.zeros_like(x_data, dtype=float)
206206
if self.do_framewise.value:
207207
for index, plane in enumerate(x_data):
208208
y_data[index] = skimage.exposure.equalize_hist(

0 commit comments

Comments
 (0)