title: How to render charts in Databricks using Plotly?
body: <p>I am trying to render charts using Plotly library in Databricks. However, no image is rendered. I use for example this statement:</p>
  
  <pre><code>from plotly.offline import init_notebook_mode, iplot
  from plotly import graph_objs as go
  
      # Initialize plotly
      init_notebook_mode(connected=True)
  
      daily_df=df
  
      def plotly_df(df, title=''):
          """Visualize all the dataframe columns as line plots."""
          common_kw = dict(x=df.index, mode='lines')
          data = [go.Scatter(y=df[c], name=c, **common_kw) for c in df.columns]
          layout = dict(title=title)
          fig = dict(data=data, layout=layout)
          iplot(fig, show_link=False)
  
      plotly_df(daily_df)
  </code></pre>
  
  <p>There is no output. Why?</p>