Skip to content

Commit

Permalink
Pyvista is not yet compatible with the latest numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
liadomide committed May 10, 2023
1 parent be3e48b commit 40573d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ipywidgets == 7.7.2
IPython <= 8.12
joblib
mne >= 1.0
numpy
numpy <1.24
plotly == 5.14.0
pythreejs
pyvista == 0.37.0
Expand Down
2 changes: 1 addition & 1 deletion tvbwidgets/ui/phase_plane_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ def add_param_sliders(self):

for param_name in type(self.model).declarative_attrs:
param_def = getattr(type(self.model), param_name)
if not isinstance(param_def, NArray) or param_def.dtype != np.float:
if not isinstance(param_def, NArray) or param_def.dtype != np.float_:
continue
param_range = param_def.domain
if param_range is None:
Expand Down

0 comments on commit 40573d5

Please sign in to comment.