Limit the range of x in seaborn distplot KDE estimation
问题 Suppose we have an array with numbers between 0 and 1: arr=np.array([ 0. , 0. , 0. , 0. , 0.6934264 , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0.6934264 , 0. , 0.6934264 , 0. , 0. , 0. , 0. , 0.251463 , 0. , 0. , 0. , 0.87104906, 0.251463 , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0.48419626, 0. , 0. , 0. , 0. , 0. , 0.87104906, 0. , 0. , 0.251463 , 0.48419626, 0. , 0.251463 , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0. , 0.251463 , 0. , 0.35524532, 0. , 0. , 0. , 0. , 0. , 0.251463 , 0.251463 ,