# Blank output instead of plots with Google AI platform

**URL:** <https://community.plotly.com/t/blank-output-instead-of-plots-with-google-ai-platform/29271>\
**Category:** 📊 Plotly Python\
**Created:** [September 26, 2019, 3:48pm UTC](https://community.plotly.com/t/blank-output-instead-of-plots-with-google-ai-platform/29271 "2019-09-26T15:48:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![IUI](https://avatars.discourse-cdn.com/v4/letter/i/9de0a6/32.png) [@IUI](https://community.plotly.com/u/IUI)\
**Post date:** [September 26, 2019, 3:48pm UTC](https://community.plotly.com/t/blank-output-instead-of-plots-with-google-ai-platform/29271/1 "2019-09-26T15:48:43Z")

</div>

Hello!

I’ve created new notebook with Google AI platform “TensorFlow 1.14” and tried plotly code with jupiter notebook. Python 2 and Python 3.

Blank output instead of plots.

```auto
import plotly.graph_objects as go
fig = go.Figure(data=go.Bar(y=[2, 3, 1]))
fig.show()

```

 ![2019-09-26_20-47-57](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/4/40724ec98ca5b7af62874afbe54c6e7e5956d80f.png)

I tried with chrome and safari browsers.

---

<div class="post-metadata">

**Author:** ![MPnc](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/mpnc/32/8008_2.png) [@MPnc](https://community.plotly.com/u/MPnc)\
**Post date:** [September 26, 2019, 4:17pm UTC](https://community.plotly.com/t/blank-output-instead-of-plots-with-google-ai-platform/29271/2 "2019-09-26T16:17:16Z")

</div>

I share a solution found [here](https://www.youtube.com/watch?v=F2pAu9PzgEE). This function fix the problem:

```auto
def configure_plotly_browser_state():
    display(IPython.core.display.HTML('''
            <script src="/static/components/requirejs/require.js"></script>
            <script>
                requirejs.config({
                    paths: {
                        base: '/static/base',
                        plotly: 'https://cdn.plot.ly/plotly-1.5.1.min.js?noext',
                    },
                });
                </script>
                '''))

```

You have just to call it once in the notebook.
