Answers for "Dist/Hist Plot Code in Seaborn"

0

Dist/Hist Plot Code in Seaborn

# Import libraries
import seaborn as sns
%matplotlib inline

sns.distplot(tips['total_bill'])
# Safe to ignore warnings

sns.distplot(tips['total_bill'],kde=False,bins=30)
# remove the KDE curve
# fix the number of bins
Posted by: Guest on January-23-2022

Python Answers by Framework

Browse Popular Code Answers by Language