I am trying to plot a histogram for data pa.
I wrote a code:
pa = np.array(pa)
scale = l ** 2
pa /= scale
fig, ax = plt.subplots()
hist = sns.histplot(pa, kde=True)
plt.grid(True)
plt.show()
The problem is that it whatever I do with pa data (scaling or not) the histogram looks the same.
I want to scale it, so the maximum possible value is 1.