I’m trying out the simplest example I could think of in Jupyterlab and it borked… Is there something that I need to do to get vegalite plots to show up properly? (NOTE: it also borks in nteract)
If I do this from the REPL it pops up a new tab in my Firefox browser and the plot is shown normally. So that works at least.
Jupyterlab version 2.1.3 installed a few days ago. Julia 1.4.1 from Debian repo
@davidanthoff? BTW: thanks much for all the work put into this. I’m looking forward to using it all when I get things working.
using Queryverse;
1:10 |> @map({x=_,y=_^2}) |> @vlplot(:points,x=:x,y=:y)
TypeError: Cannot read property 'orient' of undefined
at getMarkConfig (/home/dlakelan/.julia/artifacts/5da26dbdbf431ee15ff70d775217136ddf71426e/node_modules/vega-lite/build/vega-lite.js:4455:80)
at getMarkPropOrConfig (/home/dlakelan/.julia/artifacts/5da26dbdbf431ee15ff70d775217136ddf71426e/node_modules/vega-lite/build/vega-lite.js:4444:16)
at initMarkdef (/home/dlakelan/.julia/artifacts/5da26dbdbf431ee15ff70d775217136ddf71426e/node_modules/vega-lite/build/vega-lite.js:18605:33)
at new UnitModel (/home/dlakelan/.julia/artifacts/5da26dbdbf431ee15ff70d775217136ddf71426e/node_modules/vega-lite/build/vega-lite.js:19358:28)
at buildModel (/home/dlakelan/.julia/artifacts/5da26dbdbf431ee15ff70d775217136ddf71426e/node_modules/vega-lite/build/vega-lite.js:19590:20)
at Object.compile (/home/dlakelan/.julia/artifacts/5da26dbdbf431ee15ff70d775217136ddf71426e/node_modules/vega-lite/build/vega-lite.js:19652:27)
at compile (/home/dlakelan/.julia/artifacts/5da26dbdbf431ee15ff70d775217136ddf71426e/vl2vg.js:18:27)
at /home/dlakelan/.julia/artifacts/5da26dbdbf431ee15ff70d775217136ddf71426e/vl2vg.js:32:19
at processTicksAndRejections (internal/process/task_queues.js:93:5)
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at /home/dlakelan/.julia/artifacts/5da26dbdbf431ee15ff70d775217136ddf71426e/vg2svg.js:42:32
at processTicksAndRejections (internal/process/task_queues.js:93:5)
TypeError: Cannot read property 'orient' of undefined
at getMarkConfig (/home/dlakelan/.julia/artifacts/5da26dbdbf431ee15ff70d775217136ddf71426e/node_modules/vega-lite/build/vega-lite.js:4455:80)
at getMarkPropOrConfig (/home/dlakelan/.julia/artifacts/5da26dbdbf431ee15ff70d775217136ddf71426e/node_modules/vega-lite/build/vega-lite.js:4444:16)
at initMarkdef (/home/dlakelan/.julia/artifacts/5da26dbdbf431ee15ff70d775217136ddf71426e/node_modules/vega-lite/build/vega-lite.js:18605:33)
at new UnitModel (/home/dlakelan/.julia/artifacts/5da26dbdbf431ee15ff70d775217136ddf71426e/node_modules/vega-lite/build/vega-lite.js:19358:28)
at buildModel (/home/dlakelan/.julia/artifacts/5da26dbdbf431ee15ff70d775217136ddf71426e/node_modules/vega-lite/build/vega-lite.js:19590:20)
at Object.compile (/home/dlakelan/.julia/artifacts/5da26dbdbf431ee15ff70d775217136ddf71426e/node_modules/vega-lite/build/vega-lite.js:19652:27)
at compile (/home/dlakelan/.julia/artifacts/5da26dbdbf431ee15ff70d775217136ddf71426e/vl2vg.js:18:27)
at /home/dlakelan/.julia/artifacts/5da26dbdbf431ee15ff70d775217136ddf71426e/vl2vg.js:32:19
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Javascript Error: n[t.type] is undefined
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at /home/dlakelan/.julia/artifacts/5da26dbdbf431ee15ff70d775217136ddf71426e/node_modules/vega-cli/src/render.js:61:31
at processTicksAndRejections (internal/process/task_queues.js:93:5)