How can I get vpython results to show inline in jupyterlab?

61 Views Asked by At

Jupyterlab hangs and does not display the results of evaluation when I try to run any graphical vpython code, eg...

from vpython import *
canvas()
box(vector-(0,0,0))

I have tried this in both colab notebooks and in my local jupyter setup built using anaconda. The plots work fine when working in spyder.

I tried running the notebook in chromium, firefox, and librewolf without any change. In the environment I am running python=3.8, jupyterlab=4.0.5, and notebook=7.0.3 using on a machine running archlinux.

0

There are 0 best solutions below