title: Extending the range of bins in seaborn histogram
body: <p>I'm trying to create a histogram with seaborn, where the bins start at 0 and go to 1. However, there is only date in the range from 0.22 to 0.34. I want the empty space more for a visual effect to better present the data.</p>
  
  <p>I create my sheet with </p>
  
  <pre><code>import pandas as pd
  import matplotlib as mpl
  import matplotlib.pyplot as plt
  import numpy as np
  import seaborn as sns
  
  %matplotlib inline
  from IPython.display import set_matplotlib_formats
  set_matplotlib_formats('svg', 'pdf')
  
  df = pd.read_excel('test.xlsx', sheetname='IvT')
  </code></pre>
  
  <p>Here I create a variable for my list and one that I think should define the range of the bins of the histogram.</p>
  
  <pre><code>st = pd.Series(df['Short total'])
  a = np.arange(0, 1, 15, dtype=None)
  </code></pre>
  
  <p>And the histogram itself looks like this</p>
  
  <pre><code>sns.set_style("white")
  plt.figure(figsize=(12,10))
  plt.xlabel('Ration short/total', fontsize=18)
  plt.title ('CO3 In vitro transcription, Na+', fontsize=22)
  
  ax = sns.distplot(st, bins=a, kde=False)
  
  plt.savefig("hist.svg", format="svg")
  plt.show()
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/0RfvH.jpg" rel="nofollow noreferrer">Histogram</a></p>
  
  <p>It creates a graph bit the range in x goes from 0 to 0.2050 and in y from -0.04 to 0.04. So completely different from what I expect. I google searched for quite some time but can't seem to find an answer to my specific problem.</p>
  
  <p>Already, thanks for your help guys.</p>