title: Matplotlib change handles offset in legend
body: <p>Is it possible to change the offset of the handles in the legend?</p>
  <p>In 3 and 6, the marker is right on the dot and it would be better if it was a little further to the right so that the type of handle is better visible.
  I played a little bit with the <em>markerscale</em> and the <em>handlelength</em>, but that obviously didn't change much.</p>
  <p>How do I change the offset?</p>
  <p><a href="https://i.stack.imgur.com/qGcC1.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qGcC1.jpg" alt="" /></a></p>
  <pre><code>import matplotlib.pyplot as plt
  import numpy as np
  
  x = np.array([1,2])
  y = np.array([1,3])
  
  plt.plot(x, y, 'o-.',color='b', markersize=6,label='test',markeredgecolor=&quot;black&quot;)
  
  plt.legend(markerscale=0.9,fontsize=&quot;medium&quot;,handlelength=3)
  plt.show()
  </code></pre>