Last active
November 29, 2025 08:28
-
Star
(138)
You must be signed in to star a gist -
Fork
(24)
You must be signed in to fork a gist
-
-
Save mwaskom/de44147ed2974457ad6372750bbe5751 to your computer and use it in GitHub Desktop.
A guide to replacing the deprecated `seaborn.distplot` function.
you are dogs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


sns.distplot(df['total_bill'])
after run it , I get same type of err
C:\Users\HP\AppData\Local\Temp\ipykernel_14544\1285936593.py:1: UserWarning:
distplotis a deprecated function and will be removed in seaborn v0.14.0.Please adapt your code to use either
displot(a figure-level function withsimilar flexibility) or
histplot(an axes-level function for histograms).For a guide to updating your code to use the new functions, please see
https://gist.github.com/mwaskom/de44147ed2974457ad6372750bbe5751
sns.distplot(df['total_bill'])
***but explanation is too good