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

Widget not render in jupyterlab #380

Open
hanbinlu opened this issue Dec 18, 2020 · 2 comments
Open

Widget not render in jupyterlab #380

hanbinlu opened this issue Dec 18, 2020 · 2 comments

Comments

@hanbinlu
Copy link

Hi,

Thank you for the nice package. I've tried to set up for usage in jupyterlab. But somehow the widget does not render in my notebook in jupyterlab. For the simple example suggested

@manipulate for n in 1:10
    n
end

It return an object of Node{WebIO.DOM}(WebIO.DOM(:html, :div), Any[Node{WebIO.DOM}(WebIO.DOM(:html, :div), Any[Scope(Node{WebIO.DOM}(WebIO.DOM(:html, :div)...
image

I think my WebIO should work. Actually when I put the return object to the node function it renders (I check couple other widget too, they behave the same way that require to wrap into node function. Do I miss some setting?

image

@PKUFlyingPig
Copy link

Did you solve this problem ? I also come across this problem. I don't know if it is because there are two Jupyter notebooks on my laptop, one for the default and one for the Conda, in the README it says that we can use WebIO.install_jupyter_nbextension([jupyter]) to specify the path to the Jupyter we want, but I don't know how to correctly use this command.
image

@hanbinlu
Copy link
Author

I think you are different problem to me. But WebIO.install_jupyter_nbextensiontake Cmd as parameter, so it should be `xxxx`

WebIO.install_jupyter_nbextension(`jupyter path`)

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