简体   繁体   中英

I run the folowing code and get a empty sell in jupyter notebook , (the plot does not show but the space is there!)

import cufflinks as cf
from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot
init_notebook_mode(connected=True)
cf.go_offline()
import chart_studio
returns.iplot()

when I run the code, i get an big empty space in notebook's cell with no plot meanwhile last week it worked correctly

(returns is my Dataframe)

you have to use returns.iplot() instead of return.iplot()

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM