numpy: drop `numpy.float` in py311
parent
1ea0163b04
commit
0d9acb1cb0
|
@ -271,7 +271,7 @@ class ShmArray:
|
|||
|
||||
# type that all field values will be cast to
|
||||
# in the returned view.
|
||||
common_dtype: np.dtype = np.float,
|
||||
common_dtype: np.dtype = float,
|
||||
|
||||
) -> np.ndarray:
|
||||
|
||||
|
|
|
@ -620,7 +620,7 @@ class ChartView(ViewBox):
|
|||
# Ignore axes if mouse is disabled
|
||||
mouseEnabled = np.array(
|
||||
self.state['mouseEnabled'],
|
||||
dtype=np.float,
|
||||
dtype=float,
|
||||
)
|
||||
mask = mouseEnabled.copy()
|
||||
if axis is not None:
|
||||
|
|
Loading…
Reference in New Issue