Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In JupyterLab 3.4.5: Javascript Error: element.get is not a function for Plot or PlotGraph #20

Open
kiryph opened this issue Sep 8, 2022 · 2 comments

Comments

@kiryph
Copy link

kiryph commented Sep 8, 2022

My Jupyter Notebook running in Jupyterlab 3.4.5 does not show Plot() and PlotGraph() but returns an error

Javascript Error: element.get is not a function

Screenshot 2022-09-08 at 11 53 18

I have installed jupyterviz with https://github.com/gap-packages/PackageManager via

gap> LoadPackage("PackageManager");
gap> InstallPackage("jupyterviz");

Is there anything I missed?

@nathancarter
Copy link
Owner

Hi, @kiryph -- the JupyterViz package has not been tested in Jupyter Lab, because lab has more constraints on JavaScript than Jupyter Notebook does. Furthermore, the source code for JupyterViz does not contain any calls to element.get (cd lib/js && grep get *) so I think the offending function may be that one of the plotting tools we're using can't launch itself correctly inside Jupyter Lab. Do you have the same problem if you use the plain Jupyter Notebook interface?

@kiryph
Copy link
Author

kiryph commented Sep 16, 2022

Do you have the same problem if you use the plain Jupyter Notebook interface?

No:

Screenshot 2022-09-16 at 18 06 08
Screenshot 2022-09-16 at 18 07 05

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants