title: Python: Subplot overlapping with matplotlib
body: <p>I have the following code for a 2x2 subplot:</p>
  <pre><code>figure(figsize=(10, 6), dpi=100)
  plt.style.use('fivethirtyeight')
  
  fig, ((ax1, ax2), (ax3, ax4)) = plt.subplots(2, 2)
  fig.tight_layout(pad=2)
  
  fig.suptitle('Driving Relationships', fontsize=20)
  
  # subplot 221
  ax1.scatter(dataset2[&quot;duration&quot;]/60, dataset2[&quot;distance&quot;]/1000, c='red', alpha=0.5)
  ax1.set_title(&quot;Duration vs Distance&quot;, fontsize=12)
  ax1.set_xlabel(&quot;Duration (min)&quot;,fontsize=8)
  ax1.set_ylabel(&quot;Distance (km)&quot;,fontsize=8)
  
  # subplot 222
  ax2.scatter(dataset2[&quot;duration&quot;]/60, dataset2[&quot;speed_mean&quot;], c='red', alpha=0.5)
  ax2.set_title(&quot;Duration vs Speed&quot;, fontsize=12)
  ax2.set_xlabel(&quot;Duration (min)&quot;,fontsize=8)
  ax2.set_ylabel(&quot;Mean Speed (m/s)&quot;,fontsize=8)
  
  # subplot 223
  ax3.scatter(dataset2[&quot;ascent_total&quot;], dataset2[&quot;acceleration_mean&quot;], c='red', alpha=0.5)
  ax3.set_title(&quot;Ascent vs Acceleration&quot;, fontsize=12)
  ax3.set_xlabel(&quot;Ascent (m)&quot;,fontsize=8)
  ax3.set_ylabel(&quot;Mean Acceleration (m/s^2)&quot;,fontsize=8)
  
  # subplot 224
  ax4.scatter(dataset2[&quot;descent_total&quot;], dataset2[&quot;acceleration_mean&quot;], c='red', alpha=0.5)
  ax4.set_title(&quot;Descent vs Acceleration&quot;, fontsize=12)
  ax4.set_xlabel(&quot;Descent (m)&quot;,fontsize=8)
  ax4.set_ylabel(&quot;Mean Acceleration (m/s^2)&quot;,fontsize=8)
  
  plt.show()
  </code></pre>
  <p>Despite my attempts to improve it, there are many overlappings as shown below:
  <a href="https://i.stack.imgur.com/Z2n5n.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Z2n5n.png" alt="enter image description here" /></a></p>
  <p>I've tried changing the figure size (nothing happened). I also used fig.tight_layour() not a major improvement even when setting padding values. How can I fix my code to have a more presentable figure?</p>