[問題] ipyhon notebook中使用 interact

看板Python作者 (Chester)時間9年前 (2016/04/21 15:00), 編輯推噓1(105)
留言6則, 2人參與, 最新討論串1/1
想使用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

04/21 15:35, , 1F
interact 好像有換 import function
04/21 15:35, 1F

04/21 15:50, , 2F
用python 2.7 顯示正常
04/21 15:50, 2F

04/21 15:51, , 3F
從IPython.html.widgets 或
04/21 15:51, 3F

04/21 15:52, , 4F
IPython.html.widgets.interaction
04/21 15:52, 4F

04/21 15:52, , 5F
結果都一樣
04/21 15:52, 5F

04/21 15:52, , 6F
^import
04/21 15:52, 6F
文章代碼(AID): #1N67gIem (Python)
文章代碼(AID): #1N67gIem (Python)