title: How do I fit long title?
body: <p>There's a <a href="https://stackoverflow.com/questions/8802918/my-matplotlib-title-gets-cropped">similar question</a> - but I can't make the solution proposed there work.</p>
  
  <p>Here's an example plot with a long title:</p>
  
  <pre><code>#!/usr/bin/env python
  
  import matplotlib
  import matplotlib.pyplot
  import textwrap
  
  x = [1,2,3]
  y = [4,5,6]
  
  # initialization:
  fig = matplotlib.pyplot.figure(figsize=(8.0, 5.0)) 
  
  # lines:
  fig.add_subplot(111).plot(x, y)
  
  # title:
  myTitle = "Some really really long long long title I really really need - and just can't - just can't - make it any - simply any - shorter - at all."
  
  fig.add_subplot(111).set_title("\n".join(textwrap.wrap(myTitle, 80)))
  
  # tight:
  (matplotlib.pyplot).tight_layout()
  
  # saving:
  fig.savefig("fig.png")
  </code></pre>
  
  <p>it gives a</p>
  
  <pre class="lang-rb prettyprint-override"><code> AttributeError: 'module' object has no attribute 'tight_layout'
  </code></pre>
  
  <p>and if I replace <code>(matplotlib.pyplot).tight_layout()</code> with <code>fig.tight_layout()</code> it gives:</p>
  
  <pre class="lang-rb prettyprint-override"><code> AttributeError: 'Figure' object has no attribute 'tight_layout'
  </code></pre>
  
  <p>So my question is - how do I fit the title to the plot?</p>