Allow import d3 instead of from esm import d3

This commit is contained in:
Mateusz Paprocki
2022-04-16 10:38:02 +02:00
parent 43ff8ac335
commit 0dc3b728c3
2 changed files with 7 additions and 7 deletions

View File

@@ -109,7 +109,7 @@ for (const d of data) {
<py-script>
from pyodide import create_proxy, to_js
from esm import d3
import d3
fruits = [
dict(name="🍊", count=21),