作者ches728ter (Chester)
看板Python
标题[问题] ipyhon notebook中使用 interact
时间Thu Apr 21 15:00:31 2016
想使用ipython notebook中的互动功能interact
简单范例如下
Building Interactive Dashboards with Jupyter
http://blog.dominodatalab.com/interactive-dashboards-in-jupyter/
其中基本可以调整参数如下图
http://imgur.com/xdMiRZS
但我在我的ipython notebook下是没显示调整按钮的
http://imgur.com/Uhjf8O5
请问有人遇过相同问题吗
版本
python 3.4.4
ipython 4.0.0
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 140.96.89.194
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Python/M.1461222034.A.A30.html
1F:推 AndyLee76: interact 好像有换 import function 04/21 15:35
2F:→ ches728ter: 用python 2.7 显示正常 04/21 15:50
3F:→ ches728ter: 从IPython.html.widgets 或 04/21 15:51
4F:→ ches728ter: IPython.html.widgets.interaction 04/21 15:52
5F:→ ches728ter: 结果都一样 04/21 15:52
6F:→ ches728ter: ^import 04/21 15:52