Browse code

예제 추가

Ikseon Kang authored on14/07/2019 12:59:30
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,13 @@
1
+import seaborn as sns
2
+import matplotlib.pyplot as plt
3
+
4
+sns.set(style="white")
5
+
6
+df = sns.load_dataset("iris")
7
+
8
+g = sns.PairGrid(df, diag_sharey=False)
9
+g.map_lower(sns.kdeplot)
10
+g.map_upper(sns.scatterplot)
11
+g.map_diag(sns.kdeplot, lw=3)
12
+
13
+plt.show();