Browse code

예제 추가

Ikseon Kang authored on14/07/2019 12:59:30
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,11 @@
1
+
2
+import seaborn as sns
3
+import pandas as pd
4
+import numpy as np
5
+import matplotlib.pyplot as plt
6
+
7
+df = pd.DataFrame(dict(time=np.arange(500),
8
+                       value=np.random.randn(500).cumsum()))
9
+g = sns.relplot(x="time", y="value", kind="line", data=df)
10
+
11
+plt.show()
Browse code

파일 이름 수정

Ikseon Kang authored on14/07/2019 12:34:53
Showing1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,10 +0,0 @@
1
-import seaborn as sns
2
-import matplotlib.pyplot as plt
3
-
4
-sns.set()
5
-tips = sns.load_dataset("tips")
6
-sns.relplot(x="total_bill", y="tip", col="time",
7
-            hue="smoker", style="smoker", size="size",
8
-            data=tips);
9
-
10
-plt.show()
Browse code

예제 수정

Ikseon Kang authored on14/07/2019 12:34:36
Showing1 changed files
... ...
@@ -0,0 +1,10 @@
1
+import seaborn as sns
2
+import matplotlib.pyplot as plt
3
+
4
+sns.set()
5
+tips = sns.load_dataset("tips")
6
+sns.relplot(x="total_bill", y="tip", col="time",
7
+            hue="smoker", style="smoker", size="size",
8
+            data=tips);
9
+
10
+plt.show()
Browse code

예제 파일 추가

Ikseon Kang authored on14/07/2019 11:33:53
Showing1 changed files
1 1
new file mode 100644