title: Plotly AttributeError: 'Figure' object has no attribute 'update_layout'
body: <p>I am trying to add a title to my plot, but I get the error message:</p>
  
  <blockquote>
    <p>"AttributeError: 'Figure' object has no attribute 'update_layout'"</p>
  </blockquote>
  
  <p>The plot works without the <code>update_layout</code> line. I googled the error message without any luck.</p>
  
  <p>Is there any other way to do this?</p>
  
  <pre><code>from _plotly_future_ import v4_subplots
  from plotly.subplots import make_subplots
  import plotly.graph_objs as go
  from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot
  import plotly.plotly as py
  
  fig1 = make_subplots(
      rows=2, cols=2,
      specs=[[{"type": "pie"}, {"type": "pie"}],
             [{"type": "table"}, {"type": "table"}]],
  )
  
  fig1.add_trace(
      go.Pie(
          labels=pie_alarms_total['alarm_type'],
          values=pie_alarms_total['alarm_timestamp'],
          name="Total Alarms",
          title="test"
      ),
      row=1, col=1
  
  )
  
  fig1.add_trace(
      go.Pie(
          labels=pie_alarms_notbd['alarm_type'],
          values=pie_alarms_notbd['alarm_timestamp'],
          name="No TBDs"
      ),
      row=1, col=2
  )
  
  fig1.add_trace(
      go.Table(
          header=dict(
              values=pie_alarms_total['alarm_type'],
              line_color='darkslategray',
              fill_color='lightskyblue'
          ),
          cells=dict(
              values=pie_alarms_total['alarm_timestamp'],
              line_color='darkslategray',
              fill_color='lightcyan'
          )
      ),
      row=2, col=1
  )
  
  fig1.add_trace(
      go.Table(
          header=dict(
              values=pie_alarms_notbd['alarm_type'],
              line_color='darkslategray',
              fill_color='lightskyblue'
          ),
          cells=dict(
              values=pie_alarms_notbd['alarm_timestamp'],
              line_color='darkslategray',
              fill_color='lightcyan'
          )
      ),
      row=2, col=2
  )
  
  fig1.update_layout(title_text="Test")
  
  plot(fig1, filename="test.html")
  </code></pre>
  
  <p>I want the main title for all the images on top.</p>