Suppose we have an array with numbers between 0 and 1:
arr=np.array([ 0. , 0. , 0. , 0. , 0.6934264 , 0. ,
Settins plt.xlim(0, 1) beforehand should help :
plt.xlim(0, 1)
plt.xlim(0, 1) sns.distplot(arr, hist=False)