是否可以在 Google Colaboratory 中使用 Jupyter Widgets?
我关注了instructions here ,都带有 ipyleaflet 和 bqplot
但我收到此错误消息。
Failed to display Jupyter Widget of type Map.
If you're reading this message in the Jupyter Notebook or JupyterLab Notebook, it may mean that the widgets JavaScript is still loading. If this message persists, it likely means that the widgets JavaScript library is either not installed or not enabled. See the Jupyter Widgets Documentation for setup instructions.
If you're reading this message in another frontend (for example, a static rendering on GitHub or NBViewer), it may mean that your frontend doesn't currently support widgets.
可以使用这些小部件吗?还是我在某个地方犯了错误?
最佳答案
现在 Google Colab 有了自己的一套小部件。请参阅此处的示例。
https://colab.research.google.com/notebooks/widgets.ipynb
不过,我还没有比较它们与普通 Jupyter Widget 有多大不同。
19 年 2 月更新
现在支持ipywidgets
。您可以测试运行
the tutorials .
关于jupyter-notebook - 在 Google Colaboratory 中使用小部件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47686323/