2016-12-26 74 views
-1

我有一些代碼來生成一個ifpy iframe,它工作在Jupyter,但不是在Spyder中。如何在Spyder中顯示IFrame或彈出html?如何在spyder python中顯示ipython iframe?

在Spyder的蟒蛇,我在IPython的解釋中寫道:在Spyder的

from pivottablejs import pivot_ui 
pivot_ui(df) 
<IPython.lib.display.IFrame at 0x12a9b8d0> 

回答

1

要在活動的流行,我們需要去偏好/圖形,使Qt的。 所以所有Ipython交互式都會彈出QT。

+0

我懷疑這是否適用於Spyder,因爲'pivottablejs'需要Jupyter筆記本,如下所示:http://nicolas.kruchten.com/content/2015/09/jupyter_pivottablejs/ –