-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
I'm using thebe core, and already make it work, include matplotlib graph, show dataframe and etc.
However, I got some error when rendering plotly graph.
I'm using thebe in slidev project, and load require/plotly in this way:
import { useScriptTag } from '@vueuse/core'
useScriptTag(
'https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js',
(el) => {
console.log("requirejs is loaded")
}
)
useScriptTag(
'https://cdn.plot.ly/plotly-2.35.2.min.js',
(el) => {
console.log("plotly is loaded")
}
)It's loaded before thebe core is started.
when jupyter get result back and at the rending stage, errors happend as:
Uncaught Error: Mismatched anonymous define() module: function(){return function(){var t={6713:function(t,e,r){"use strict";var n=r(34809),i={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg":"overflow:hidden;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor…
is this a plotly.js version error? which version should I use?
Thanks for help in advance!
Metadata
Metadata
Assignees
Labels
No labels