<jupyter_start><jupyter_text>histogram and displot in seaborn<jupyter_code>import matplotlib.pyplot as plt
import seaborn as sns
from scipy.stats import norm

tips = sns.load_dataset("tips")
tips
sns.displot(tips["size"])
sns.displot(tips["tip"])
sns.displot(tips["total_bill"])
sns.displot(tips["total_bill"] , bins = 10)
sns.displot(tips["total_bill"] , bins = 100)
sns.displot(tips["total_bill"]  ,kde = True)
sns.displot(tips["total_bill"]  ,kde =False  )
sns.displot(tips["total_bill"]  ,rug = True)
sns.displot(tips["total_bill"]  ,color ='r'  )
sns.displot(tips["total_bill"]  ,color ='r',  label = "histogram")
plt.title("Histogram of tatal bill" , fontsize = 20)
plt.legend()
plt.figure(figsize = (15,9))

sns.set( style = "dark")

sns.displot(tips["total_bill"]  ,color ='r',  label = "histogram")
plt.title("Histogram of tatal bill" , fontsize = 20)
plt.legend()
plt.show()
tips.total_bill.sort_values()
bins = [1,5,10,15,20,25,30,35,40,45,50,55]

sns.displot(tips["total_bill"], bins = bins )

plt.xticks(bins)

plt.title("Histogram of tatal bill" , fontsize = 20)
plt.show()
sns.displot(tips["total_bill"] )


plt.title("Histogram of tatal bill" , fontsize = 20)
plt.show()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.17927631578947367, 'fraction_numerical': 0.03125, 'mean_word_length': 6.375757575757576, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '542939', 'license': 'MIT', 'n_tokens_mistral': 571, 'n_tokens_neox': 515, 'n_words': 92, 'path': 'histogram and displot in seaborn.ipynb', 'repo_name': 'akshhpatil/seaborn-concept', 'size': '1216'}