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

Azure ML Portal Notebook does not show widgets from ipywidgets #1490

Open
imbachb opened this issue May 24, 2021 · 1 comment
Open

Azure ML Portal Notebook does not show widgets from ipywidgets #1490

imbachb opened this issue May 24, 2021 · 1 comment
Labels
ADO Issue is documented on MSFT ADO for internal tracking Core UI doc-enhancement

Comments

@imbachb
Copy link

imbachb commented May 24, 2021

Using ipywidgets in an Azure ML Portal Notebook as shown in the following example does not show an interactive widget.

from ipywidgets import interact

def f(x):
    return x

interact(f, x=10)

Switching inside the Azure ML Portal to the JupyterLab Notebook editor and pasting the same code an interactive widget does appear.

Note: This simplest form of slider does work on Azure ML Portal Notebooks:

from ipywidgets import widgets

widgets.IntSlider()

ipywidgets version:
7.6.3

from: https://docs.microsoft.com/en-us/answers/questions/396317/azure-ml-notebook-does-not-show-widgets-from-ipywi.html?childToView=406378#comment-406378

@v-strudm-msft v-strudm-msft added ADO Issue is documented on MSFT ADO for internal tracking Core UI doc-enhancement labels May 26, 2021
@chnldw
Copy link

chnldw commented Nov 9, 2021

Azure Notebooks relies on the nteract implementation of jupyter widgets, which covers most of the basic widget cases but has some limitations. Unfortunately, one such limitation is the interact function. You can see the GitHub issue for it here. The issue has been root-caused, but there isn't any on-going work for a fix that I'm aware of.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ADO Issue is documented on MSFT ADO for internal tracking Core UI doc-enhancement
Projects
None yet
Development

No branches or pull requests

3 participants