title: Python plot connecting lines between dots issue
body: <p>Trying to fit a sin function using curve_fit to some points here. When plotting both the fit and the points, I get something I have no idea how to explain, so I better post some images.</p>
  
  <p>Using the following code line yields:</p>
  
  <pre><code>plt.plot(phase_min, sinusoidal_function(phase_min, *popt), '.', lw=3)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/hwNuR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hwNuR.png" alt=""></a></p>
  
  <p>Using the line style '-', I get:</p>
  
  <p><a href="https://i.stack.imgur.com/aJwg2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aJwg2.png" alt=""></a></p>
  
  <p>How can I just have a damn line connecting each adjacent dot, not all the dots in between? 
  Thanks!</p>