title: How can I plot a discrete probability distribution with Seaborn?
body: <p>I want to plot a discrete probability distribution (a MWE below). </p>
  
  <p>In order to keep the graphics consistent, I'd like to use <code>seaborn</code>.</p>
  
  <pre><code>from pandas import DataFrame
  
  x = [2,3,5]
  freq = [0.3,0.2,0.5]
  df = DataFrame({'val.':x,'freq.':freq})
  df.set_index('val.')
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/XvDOV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XvDOV.png" alt="dataframe"></a></p>
  
  <p>Is there any way to produce a barplot of this distribution (other than generating data that have this distribution)?</p>