title: How do I plot a step function with Seaborn?
body: <p>I want to make a step plot using Seaborn similar to this <a href="https://stackoverflow.com/questions/8921296/how-do-i-plot-a-step-function-with-matplotlib-in-python">matplotlib example</a></p>
  
  <pre><code>import seaborn as sns
  x = [1,2,3,4]
  y = [0.002871, 0.0051, 0.0086, 0.005]
  sns.lineplot(x,y)
  </code></pre>
  
  <p>Can I make use of <code>drawstyle='steps-post'</code> ?</p>
  
  <p>The following does not work: <code>sns.lineplot(x,y, drawstyle='steps-pre')
  </code></p>
  
  <p>The result should look like this:
  <a href="https://i.stack.imgur.com/DW5s0.png" rel="noreferrer"><img src="https://i.stack.imgur.com/DW5s0.png" alt="step plot"></a></p>