<jupyter_start><jupyter_text>Seaborn<jupyter_code>import seaborn as sns
import matplotlib.pyplot as plt
import pandas as pd
import numpy as np
a = sns.load_dataset("flights")
sns.relplot(x = "passengers",y = "month",data =a ) # scatter plot
a = sns.load_dataset("flights")
sns.relplot(x = "passengers",y = "month",hue="year",data =a )
b = sns.load_dataset("tips")
sns.relplot(x ="time",y = "tip",data = b,kind= "line") # line plot
sns.catplot(x="day",y="total_bill", data=b)
sns.catplot(x="day",y="total_bill", data=b, kind="violin")
sns.catplot(x="day",y="total_bill", data=b, kind="box")<jupyter_output><empty_output><jupyter_text>Univariate<jupyter_code>from scipy import stats
c = np.random.normal(loc=5,size=100,scale=2)
sns.distplot(c)
sns.displot(c)
sns.histplot(c)<jupyter_output><empty_output><jupyter_text>Bivariate<jupyter_code>a = sns.load_dataset("flights")
sns.jointplot(x = "passengers",y = "year",data =a,kind='kde')
b = sns.load_dataset("tips")
sns.jointplot(x ="time",y = "tip",data = b, kind='')<jupyter_output><empty_output><jupyter_text>Multiplot Function<jupyter_code>a = sns.load_dataset("iris")
b = sns.FacetGrid(a, col='species')
b.map(plt.hist, 'sepal_length')
a = sns.load_dataset("flights")
b = sns.PairGrid(a)
b.map(plt.scatter)<jupyter_output><empty_output><jupyter_text>Plot-Aesthetics<jupyter_code>sns.set(style='darkgrid')         # background
a = sns.load_dataset("flights")
b = sns.PairGrid(a)
b.map(plt.scatter)
sns.set(style='dark')         # background
a = sns.load_dataset("flights")
b = sns.PairGrid(a)
b.map(plt.scatter)
sns.set(style='white', color_codes = True)        
a = sns.load_dataset("tips")
sns.boxplot(x='day',y="total_bill",data=a)
sns.set(style='white', color_codes = True)        
a = sns.load_dataset("tips")
sns.boxplot(x='day',y="total_bill",data=a)
sns.despine(offset=10,trim=True)<jupyter_output><empty_output><jupyter_text>Color palette<jupyter_code>c = sns.color_palette()
sns.palplot(c)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1844365841334007, 'fraction_numerical': 0.0035371399696816574, 'mean_word_length': 7.918918918918919, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '6', 'dir': 'jupyter-structured-clean-dedup', 'id': '225130', 'license': 'MIT', 'n_tokens_mistral': 866, 'n_tokens_neox': 841, 'n_words': 108, 'path': 'folders/Seaborn/seaborn.ipynb', 'repo_name': 'maojh/Hacktoberfest', 'size': '1979'}