santosjorge / cufflinks

Productivity Tools for Plotly + Pandas
MIT License
3.02k stars 675 forks source link

How to view plots when using interactive console and offline mode? #75

Open CptanPanic opened 6 years ago

CptanPanic commented 6 years ago

Hello, If I do the following code in a notebook I get a chart, but if I try to type it into an IPython console for example as part of Spyder/PyCharm I don't get a chart. How can I get this to work?


import cufflinks as cf
fig=cf.datagen.histogram(3).figure(kind='histogram')
cf.iplot(fig,online=False)
tonymj76 commented 6 years ago

Type in Cf.show() to display it, not necessarily used in jupyter but needed in other text editor