title: Adjusting subplot layout with pandas
body: <p>I came to realize that <strong>matplotlib</strong>'s <code>tight_layout()</code> cannot be applied to plots generated by <strong>pandas</strong>. </p>
  
  <p>This is the code I am running:</p>
  
  <pre><code>            0         1         2         3         4
  A    0.039895  0.960105       NaN       NaN       NaN
  D    0.030418  0.969582       NaN       NaN       NaN
  E    0.037345  0.962655       NaN       NaN       NaN
  F    0.061522  0.938478       NaN       NaN       NaN
  G    0.047163  0.952837       NaN       NaN       NaN
  H    0.026423  0.000000  0.000000  0.973577       NaN
  
  df.T.plot(kind='bar', subplots=True, width=0.7, legend=False, 
                               layout=(2,4), sharex=True, sharey=True)
  plt.tight_layout()
  </code></pre>
  
  <p>I end up with the following error:</p>
  
  <pre><code>AttributeError: 'NoneType' object has no attribute 'is_bbox'
  </code></pre>
  
  <p>I also believe that this is related to a similar issue posted on github:
  <a href="https://github.com/pandas-dev/pandas/issues/9351%22https://github.com/pandas-dev/pandas/issues/9351" rel="noreferrer"> DataFrame.hist() does not get along with matplotlib.pyplot.tight_layout() #9351 </a></p>
  
  <p>Therefore, I am looking for a workaround based on <code>subplots_adjust(*args, **kwargs)</code>. Most importantly, I was trying to adjust the <code>hspace</code> parameter. However, these keyword arguments are not accepted when calling the <code>plot</code> function of <strong>pandas</strong>.</p>
  
  <p>Any suggestions?</p>