Seaborn ile Veri Görselleştirmeye Giriş
Content Team
DataCamp
İki nicel değişken arasındaki ilişkiyi gösterin
Gördüklerimiz:
col ve row)hue)Yeni özelleştirmeler:
Hem scatterplot() hem relplot() ile kullanın
import seaborn as sns import matplotlib.pyplot as plt sns.relplot(x="total_bill", y="tip", data=tips, kind="scatter", size="size")plt.show()

import seaborn as sns import matplotlib.pyplot as plt sns.relplot(x="total_bill", y="tip", data=tips, kind="scatter", size="size", hue="size")plt.show()

import seaborn as sns import matplotlib.pyplot as plt sns.relplot(x="total_bill", y="tip", data=tips, kind="scatter", hue="smoker", style="smoker")plt.show()

import seaborn as sns import matplotlib.pyplot as plt # Alfa'yı 0 ile 1 arasında ayarlayın sns.relplot(x="total_bill", y="tip", data=tips, kind="scatter", alpha=0.4)plt.show()

Seaborn ile Veri Görselleştirmeye Giriş