title: How to plot a dashed line on seaborn lineplot?
body: <p>I'm simply trying to plot a dashed line using seaborn. This is the code I'm using and the output I'm getting</p>
  
  <pre><code>import seaborn as sns
  import numpy as np
  import matplotlib.pyplot as plt
  
  n = 11
  x = np.linspace(0,2,n)
  y = np.sin(2*np.pi*x)
  
  sns.lineplot(x,y, linestyle='--')
  plt.show()
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/brIDb.png" rel="noreferrer"><img src="https://i.stack.imgur.com/brIDb.png" alt="enter image description here"></a></p>
  
  <p>What am I doing wrong? Thanks</p>