title: Why would Plotly not recognise attribute 'offline'?
body: <p>I'm following the tutorial plotly timeseries, <a href="https://plot.ly/python/time-series/" rel="noreferrer">here</a>. I've also amended the code to allow for offline charts in Jupyter, <a href="https://plot.ly/python/getting-started/#start-plotting-online" rel="noreferrer">here</a>.</p>
  
  <p>I'm trying to plot a timeseries in Jupyter Notebook. I get the following error.</p>
  
  <blockquote>
    <p>AttributeError: module 'plotly.plotly' has no attribute 'offline'</p>
  </blockquote>
  
  <p>As far as I can see I've carried out all the instructions but can't get it to work with the method they suggest.</p>
  
  <pre><code>import plotly.plotly as py
  import plotly.graph_objs as go
  
  py.offline.init_notebook_mode()
  
  data = [go.Scatter(x=dataload.date, y=dataload.spend)]
  
  py.offline.iplot(data)
  
  ---------------------------------------------------------------------------
  AttributeError                            Traceback (most recent call last)
  &lt;ipython-input-14-c9b2e8d8907c&gt; in &lt;module&gt;()
        2 import plotly.graph_objs as go
        3 
  ----&gt; 4 py.offline.init_notebook_mode()
        5 
        6 data = [go.Scatter(x=dataload.date, y=dataload.spend)]
  
  AttributeError: module 'plotly.plotly' has no attribute 'offline'
  </code></pre>
  
  <p>Does anyone have a suggestion to why I might be getting this error, could it be a local setup issue?</p>