Skip to content

Commit 2077ff3

Browse files
fix for issue jonmmease#9
issue on jonmmease#9
1 parent 91d9f42 commit 2077ff3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

notebooks/Interact.ipynb

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
],
5151
"source": [
5252
"fig = go.FigureWidget()\n",
53-
"scatt = fig.add_scatter()\n",
53+
"scatt = fig.add_scatter().data[0]\n",
5454
"fig"
5555
]
5656
},
@@ -90,6 +90,7 @@
9090
" scatt.x=xs\n",
9191
" scatt.y=np.sin(a*xs-b)\n",
9292
" scatt.line.color=color"
93+
" fig.show()"
9394
]
9495
},
9596
{

0 commit comments

Comments
 (0)