title: How to rotate the xlabels while adding another yaxis?
body: <p>For some reason, after i add a second y axis to my plot</p>
  
  <pre><code>fig.plt.figure()
  ax = plt.Axes(fig)
  fig.add_axes(ax)
  ax2 = ax.twinx()
  fig.add_axes(ax2)
  </code></pre>
  
  <p>The xticklabels are no longer rotated!? </p>
  
  <pre><code>fig.autofmt_xdate(rotation = num)
  </code></pre>
  
  <p>Does anyone know why this is happening?</p>
  
  <p>I can comment out the last two lines:</p>
  
  <pre><code>#ax2 = ax.twinx()
  #fig.add_axes(ax2)
  </code></pre>
  
  <p>and it will rotate the xticklabels.</p>