I wrote the code using the link below, and I think I can get the height with this.
Get data points from Seaborn distplot
import seaborn as sns
import numpy as np
from print import print
sns.set()
np.random.seed(0)
x = np.random.rand(100)
print([h.get_height() for hinsns.distrib(x).patches])
"""
>[1.2707405677074517,
0.8132739633327691,
1.0674220768742593,
1.0674220768742597,
0.8641035860410673]
"""
By the way, regarding the link above,
If you type seaborn display bin get height in Google search, it was the fourth from the top.Our stackoverflow has a lot of accumulated knowledge, so before you ask a question, you may be able to solve it more quickly than you ask here.
546 Understanding How to Configure Google API Key
542 Unable to install versioned in Google Colab
547 Who developed the "avformat-59.dll" that comes with FFmpeg?
709 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
537 Uncaught (inpromise) Error on Electron: An object could not be cloned
© 2024 OneMinuteCode. All rights reserved.