作者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://www.ptt.cc/bbs/Python/M.1461222034.A.A30.html
推 AndyLee76: interact 好像有換 import function 04/21 15:35
→ ches728ter: 用python 2.7 顯示正常 04/21 15:50
→ ches728ter: 從IPython.html.widgets 或 04/21 15:51
→ ches728ter: IPython.html.widgets.interaction 04/21 15:52
→ ches728ter: 結果都一樣 04/21 15:52
→ ches728ter: ^import 04/21 15:52