Seaborn ile Veri Görselleştirmeye Giriş
Content Team
DataCamp

relplot() ile aynı avantajlarcol= ve row= ile kolay alt grafiklerimport matplotlib.pyplot as plt
import seaborn as sns
sns.countplot(x="how_masculine",
data=masculinity_data)
plt.show()

import matplotlib.pyplot as plt
import seaborn as sns
sns.catplot(x="how_masculine",
data=masculinity_data,
kind="count")
plt.show()

import matplotlib.pyplot as plt import seaborn as snscategory_order = ["No answer", "Not at all", "Not very", "Somewhat", "Very"]sns.catplot(x="how_masculine", data=masculinity_data, kind="count", order=category_order)plt.show()

Her kategori için nicel değişkenin ortalamasını gösterir
import matplotlib.pyplot as plt
import seaborn as sns
sns.catplot(x="day",
y="total_bill",
data=tips,
kind="bar")
plt.show()


import matplotlib.pyplot as plt import seaborn as sns sns.catplot(x="day", y="total_bill", data=tips, kind="bar", errorbar=None)plt.show()

import matplotlib.pyplot as plt import seaborn as sns sns.catplot(x="total_bill", y="day", data=tips, kind="bar")plt.show()

Seaborn ile Veri Görselleştirmeye Giriş