title: Colorbar axis label overlapping with ticks Matplotlib
body: <p>I am plotting a scatterplot with a colorbar on the right using Matplotlib. The labels of the colorbar get overlapped/get too close with the ticks. </p>
  
  <p>I have used the following code.</p>
  
  <pre class="lang-py prettyprint-override"><code>
  plt.figure(figsize=(10,10))
  plt.title('Spatio-temporal variations of Mean Absolute Error',fontsize=15)
  plt.scatter(df['longitude'], df['latitude'], c = df['mean_abs_error'], cmap = 'rainbow')
  plt.ylabel('Longitude', fontsize = 15)
  plt.xlabel('Latitude', fontsize = 15)
  plt.xticks(fontsize = 15)
  plt.yticks(fontsize = 15)
  plt.colorbar().ax.set_ylabel('Mean Absolute Error', rotation=270, fontsize = 15)
  
  
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/0e9hs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0e9hs.png" alt="enter image description here"></a></p>
  
  <p>I wish to have the label of the colorbar 'Mean Absolute Error' a bit further to the right, i.e. introduce some spacing between the axis ticks and the axis label.</p>