title: Change spacing of dashes in dashed line in matplotlib
body: <p>In Python, using matplotlib, is there a way to change the distance of the dashes for different linestyles, for example, using the following command:</p>
  
  <pre><code>plt.plot(x,y,linestyle='--')
  </code></pre>