Spaces:
Sleeping
Sleeping
David Vegh
commited on
Commit
•
13a9b5d
1
Parent(s):
3e62657
Update ipyvizzu_demo.ipynb
Browse files- ipyvizzu_demo.ipynb +4 -3
ipyvizzu_demo.ipynb
CHANGED
@@ -47,8 +47,8 @@
|
|
47 |
"# chart = Chart(width=\"640px\", height=\"360px\")\n",
|
48 |
"# chart = Chart(width=\"640px\", height=\"360px\", display=\"begin\")\n",
|
49 |
"# chart = Chart(width=\"640px\", height=\"360px\", display=\"actual\") # default\n",
|
50 |
-
"chart = Chart(width=\"640px\", height=\"360px\", display=\"end\")\n",
|
51 |
-
"
|
52 |
]
|
53 |
},
|
54 |
{
|
@@ -103,7 +103,8 @@
|
|
103 |
"# filter data by the selected gender\n",
|
104 |
"\n",
|
105 |
"data_filter = Data.filter(f\"record['Sex'] == '{gender}'\")\n",
|
106 |
-
"chart.animate(data_filter)"
|
|
|
107 |
]
|
108 |
}
|
109 |
],
|
|
|
47 |
"# chart = Chart(width=\"640px\", height=\"360px\")\n",
|
48 |
"# chart = Chart(width=\"640px\", height=\"360px\", display=\"begin\")\n",
|
49 |
"# chart = Chart(width=\"640px\", height=\"360px\", display=\"actual\") # default\n",
|
50 |
+
"# chart = Chart(width=\"640px\", height=\"360px\", display=\"end\")\n",
|
51 |
+
"chart = Chart(width=\"640px\", height=\"360px\", display=\"manual\")\n"
|
52 |
]
|
53 |
},
|
54 |
{
|
|
|
103 |
"# filter data by the selected gender\n",
|
104 |
"\n",
|
105 |
"data_filter = Data.filter(f\"record['Sex'] == '{gender}'\")\n",
|
106 |
+
"chart.animate(data_filter)\n",
|
107 |
+
"chart\n"
|
108 |
]
|
109 |
}
|
110 |
],
|