Open davidbrochart opened 2 years ago
:( indeed.
Errors from the console:
The resource from “https://ipycytoscape.readthedocs.io/en/latest/jupyter-cytoscape.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
latest
Loading failed for the <script> with source “https://ipycytoscape.readthedocs.io/en/latest/jupyter-cytoscape.js”. latest:1:1
Falling back to https://unpkg.com/ for jupyter-cytoscape@^1.0.4 18 embed-amd.js:208:86198
Referrer Policy: Ignoring the less restricted referrer policy “no-referrer-when-downgrade” for the cross-site request: https://unpkg.com/jupyter-cytoscape@%5E1.0.4/dist/index.js require.min.js:1:16160
You have set a custom wheel sensitivity. This will make your app zoom unnaturally when using mainstream mice. You should change this value from the default only if you can guarantee that all your users will use the same hardware and OS configuration as your current machine. cytoscape.cjs.js:827:12
Uncaught (in promise) Error: An element must be of type `nodes` or `edges`; you specified ``
ue cytoscape.cjs.js:811
_e cytoscape.cjs.js:1076
add cytoscape.cjs.js:13379
addNodeModel widget.ts:377
Ce index.js:41
Ce index.js:41
addNodeModel index.js:41
update embed-amd.js:46
render widget.ts:122
cytoscape.cjs.js:811:8
Uncaught (in promise) Error: An element must be of type `nodes` or `edges`; you specified ``
ue cytoscape.cjs.js:811
_e cytoscape.cjs.js:1076
add cytoscape.cjs.js:13379
addEdgeModel widget.ts:399
Ce index.js:41
Ce index.js:41
addEdgeModel index.js:41
update embed-amd.js:46
render widget.ts:129
cytoscape.cjs.js:811:8
maybe it's because of this? https://github.com/cytoscape/ipycytoscape/blob/3830051264eb12cf09d44898e70b9eeabd178875/docs/environment.yml#L7
Indeed, ipycytoscape doesn't work with JupyterLab 2.
Problem
The widgets don't appear in the documentation, e.g.: https://ipycytoscape.readthedocs.io/en/latest/#simple-example.