Skip to content

Commit 3654d90

Browse files
committed
update example to use define_module
1 parent 45f9ab0 commit 3654d90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/introduction.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@
692692
"source": [
693693
"print(\"Click the bars to see event data printed in Python 👇\")\n",
694694
"\n",
695-
"chart = idom.widgets.import_module(\"chart\", \"chart.js\")\n",
695+
"chart = idom.widgets.define_module(\"chart\", \"chart.js\")\n",
696696
"\n",
697697
"async def handle_event(event):\n",
698698
" print(event)\n",

0 commit comments

Comments
 (0)