# Estilos
sns.set(style='dark', palette='dark', font='verdana', font_scale=1)
sns.barplot(x = ['A','B','C'], y = [1,4,6])
plt.show()
findfont: Font family ['verdana'] not found. Falling back to DejaVu Sans.
# despliega los puntos en la horizontal cuando se superponen
sns.swarmplot(data=tips, x='day', y='total_bill', hue='sex', dodge=True)
/shared-libs/python3.9/py/lib/python3.9/site-packages/seaborn/categorical.py:1296: UserWarning: 5.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot.
warnings.warn(msg, UserWarning)
sns.boxplot(data=tips , x='day', y='total_bill', hue='sex', dodge=True)
sns.swarmplot(data=tips , x='day', y='total_bill', hue='sex', dodge=True, color='0', marker='*')
/shared-libs/python3.9/py/lib/python3.9/site-packages/seaborn/categorical.py:1296: UserWarning: 5.1% of the points cannot be placed; you may want to decrease the size of the markers or use stripplot.
warnings.warn(msg, UserWarning)
sns.violinplot(data=tips , x='day', y='total_bill', hue='sex')
#split
sns.violinplot(data=tips , x='day', y='total_bill', hue='sex', split=True)
sns.catplot(data=tips, x='day', y='total_bill', hue='sex', dodge=True, kind='violin', split=True, col='time')
sns.pairplot(data=tips)
# Eliminamos gráficas repetidas
sns.pairplot(data=tips, corner=True)