【问题标题】:Azure synpase notebook - ipywidgets not showing on using interactAzure 突触笔记本 - 使用交互时未显示 ipywidgets
【发布时间】:2022-06-22 16:56:49
【问题描述】:

我正在使用 Azure 突触笔记本,我正在尝试在那里使用 Ipywidgets。我面临的问题是使用小部件的“交互”功能。它不显示小部件,只显示值。下面是 synapse vs Jupyter notebook 中的代码和各自的输出。

import ipywidgets as widgets
from IPython.display import display as dp

def func(a):
    display(a)

interact(func,  a=widgets.IntSlider(min=10, max=50, step=2))

synapse vs jupyter 中的输出

Jupyter

enter image description here

突触酶

enter image description here

我也尝试过使用 interactive 功能,但我仍然面临同样的问题

【问题讨论】:

    标签: python azure azure-synapse ipywidgets


    【解决方案1】:

    我面临同样的问题。交互不适用于突触笔记本。我尝试了动画以及 ipywidgets 下拉菜单。你让它工作了吗?如果有,请分享

    【讨论】:

      猜你喜欢
      • 2020-07-19
      • 1970-01-01
      • 2019-11-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-10-13
      • 2021-08-27
      • 2017-09-03
      相关资源
      最近更新 更多