We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c642f0 commit 1856342Copy full SHA for 1856342
examples/superellipsoid.ipynb
@@ -114,13 +114,13 @@
114
"outputs": [],
115
"source": [
116
"from pythreejs import *\n",
117
- "from ipydatawidgets import ConstrainedNDArrayWidget\n",
+ "from ipydatawidgets import create_constrained_arraywidget \n",
118
"from IPython.display import display\n",
119
"\n",
120
"view_width = 600\n",
121
"view_height = 400\n",
122
123
- "coordinate_widget = ConstrainedNDArrayWidget(dtype='float32')(array=coords)\n",
+ "coordinate_widget = create_constrained_arraywidget(dtype='float32')(array=coords)\n",
124
125
"surf_g = BufferGeometry(attributes=dict(\n",
126
" position=BufferAttribute(coordinate_widget),\n",
0 commit comments