Last active
April 18, 2025 07:22
-
Star
(132)
You must be signed in to star a gist -
Fork
(22)
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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@swapnak1512
The messages you're seeing are warnings, not errors, so your plot should still render.
suppress the warnings in your scripts.
import warnings
warnings.filterwarnings("ignore")
import seaborn as sns
import matplotlib.pyplot as plt
tips = sns.load_dataset('tips')
sns.displot(tips["total_bill"])
plt.show()
i know this is late but this answer could help somone else having the same kind of warnings
Have a nice day