When I am using seaborn's kdeplot function I am getting a plot where the y-axis is in its actual count. I want it to show a value between 0 to 1. The kernel density normally should be between 0 and 1. But why it is still giving its actual value, what is wrong with it? I am using the following code:
import matplotlib.pyplot as plt
import seaborn as sns
import numpy as np
inp1 = open('1BVN_g.txt', 'r')
val = []
for line in inp1:
#print(line)
a = line.rstrip()
val.append(float(a))
val2 = np.array(val)
sns.kdeplot(val2, shade=True)