David Vegh commited on
Commit
8e08410
1 Parent(s): 114e433

fix selection

Browse files
Files changed (1) hide show
  1. ipyvizzustory_demo.ipynb +3 -3
ipyvizzustory_demo.ipynb CHANGED
@@ -28,7 +28,7 @@
28
  "source": [
29
  "# configure default value\n",
30
  "\n",
31
- "show = 'complex'"
32
  ]
33
  },
34
  {
@@ -133,9 +133,9 @@
133
  "metadata": {},
134
  "outputs": [],
135
  "source": [
136
- "if show == \"animation\":\n",
137
  " story.play()\n",
138
- "if show == \"code\":\n",
139
  " display_html(HTML(html))"
140
  ]
141
  }
 
28
  "source": [
29
  "# configure default value\n",
30
  "\n",
31
+ "selected = [\"animation\"]"
32
  ]
33
  },
34
  {
 
133
  "metadata": {},
134
  "outputs": [],
135
  "source": [
136
+ "if \"animation\" is selected:\n",
137
  " story.play()\n",
138
+ "if \"code\" is selected:\n",
139
  " display_html(HTML(html))"
140
  ]
141
  }