# Offline mode does not displaying figures

**URL:** https://community.plotly.com/t/offline-mode-does-not-displaying-figures/3893
**Category:** 📊 Plotly Python
**Created:** [April 10, 2017, 11:07pm UTC](https://community.plotly.com/t/offline-mode-does-not-displaying-figures/3893 "2017-04-10T23:07:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![gkirlik](https://avatars.discourse-cdn.com/v4/letter/g/ac8455/32.png) [@gkirlik](https://community.plotly.com/u/gkirlik)
#### Post date: [April 10, 2017, 11:07pm UTC](https://community.plotly.com/t/offline-mode-does-not-displaying-figures/3893/1 "2017-04-10T23:07:37Z")

</div>

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**  
init\_notebook\_mode(connected=True)  
iplot([{“x”: [1, 2, 3], “y”: [3, 1, 6]}])

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

How can I resolve this problem?

Best

---

<div class="post-metadata">

### Author: ![girardea](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/girardea/32/5472_2.png) [@girardea](https://community.plotly.com/u/girardea)
#### Post date: [April 11, 2017, 10:01am UTC](https://community.plotly.com/t/offline-mode-does-not-displaying-figures/3893/2 "2017-04-11T10:01:34Z")

</div>

Hi gkirlik, what are you running your script with?

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

 ![](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/4/489446e19d448574e0adff8cca0b29e6ee51ab50.png)
