# Jupyter integration \> layout variables ignored on iplot call

**URL:** <https://community.plotly.com/t/jupyter-integration-layout-variables-ignored-on-iplot-call/21863>\
**Category:** 📊 Plotly Python\
**Created:** [April 3, 2019, 7:31pm UTC](https://community.plotly.com/t/jupyter-integration-layout-variables-ignored-on-iplot-call/21863 "2019-04-03T19:31:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ted](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/ted/32/1895_2.png) [@ted](https://community.plotly.com/u/ted)\
**Post date:** [April 3, 2019, 7:31pm UTC](https://community.plotly.com/t/jupyter-integration-layout-variables-ignored-on-iplot-call/21863/1 "2019-04-03T19:31:39Z")

</div>

I am supporting users on a Plotly on-prem instance.  
We are using plotly in conjunction with jupyter notebooks, generating plotly figures inside the notebooks. It works really well. But, values passed inside the `layout` variable sent to iplot are ignored. Specifically, `title`, `yaxis` and `xaxis` labels are not being rendered.

The figure below shows an example of the bug on a scatter plot example.  
Is this a known limitation of working within jupyter notebooks? Is there another way to render title and axis labels?

 ![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/b/b5b3f19ffcada1db2bb32195d3dfad49076565d3.png)

---

<div class="post-metadata">

**Author:** ![etienne](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/etienne/32/17_2.png) [@etienne](https://community.plotly.com/u/etienne)\
**Post date:** [April 3, 2019, 8:53pm UTC](https://community.plotly.com/t/jupyter-integration-layout-variables-ignored-on-iplot-call/21863/2 "2019-04-03T20:53:51Z")

</div>

Best for #api:python

---

<div class="post-metadata">

**Author:** ![ted](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/ted/32/1895_2.png) [@ted](https://community.plotly.com/u/ted)\
**Post date:** [April 3, 2019, 9:07pm UTC](https://community.plotly.com/t/jupyter-integration-layout-variables-ignored-on-iplot-call/21863/3 "2019-04-03T21:07:21Z")

</div>

I solved the issue by downgrading plotly.py.

`pip install plotly==3.4`

---

<div class="post-metadata">

**Author:** ![jmmease](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/jmmease/32/3706_2.png) [@jmmease](https://community.plotly.com/u/jmmease)\
**Post date:** [April 4, 2019, 12:27pm UTC](https://community.plotly.com/t/jupyter-integration-layout-variables-ignored-on-iplot-call/21863/4 "2019-04-04T12:27:47Z")

</div>

Hi @ted,

I think this is probably a consequence of a change that plotly.js made in version 1.43, that plotly.py adapted to in version 3.5.0. Basically the underlying JSON structure for the `title` attributes changed to support additional title properties (alignment, position, etc.). See [https://github.com/plotly/plotly.py/blob/master/CHANGELOG.md#changed](https://github.com/plotly/plotly.py/blob/master/CHANGELOG.md#changed).

Plotly.js maintained compatibility with the old format, and so did plotly.py. But in version 3.5.0 plotly.py started translating the old format into the new format.

My guess is that the version of plotly.js that is included in your current version of ‘Plotly on-prem’ is \< 1.43, which doesn’t recognize the new format. If this is the case, then you’ll need to stay on plotly.py 3.4 until your on-prem installation is updated.

Hope that helps clear things up a bit,  
-Jon
