Offline mode does not displaying figures

Dear All,

I am trying to use plotly (iplot) to create figures offline. Unfortunately, I could not get offline plots to display, instead I get the external temporary file. For example, when I run this script,

from plotly import version
from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot
print version
iplot([{β€œx”: [1, 2, 3], β€œy”: [3, 1, 6]}])

I am only getting this output.
<IPython.core.display.HTML object>
<IPython.core.display.HTML object>

How can I resolve this problem?


Hi gkirlik, what are you running your script with?

I just copy pasted your code in an IPython notebook, works perfectly (though my version is higher…)

1 Like