I need to plot my data using plotly, But this code doesn't give me any result, I display my data, but without any figure:
import plotly.graph_objs as go
from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot
data_t = []
for mac, dico_data in dict_info.items():
data_t.append(go.Scatter( x= dico_data['asn'], y= dico_data["time"], name=mac ))
print (data_t)
data = data_t
iplot(data_t)
plotlyscripts need to be run in a Jupyter notebook. note:Use plotly.offline.iplot() when working offline in a Jupyter Notebook to display the plot in the notebook., src: plot.ly/python/getting-started/…