回答編集履歴
1
追記
answer
CHANGED
@@ -2,4 +2,17 @@
|
|
2
2
|
```
|
3
3
|
df = pd.concat([df1, df2])
|
4
4
|
df.plot()
|
5
|
+
```
|
6
|
+
|
7
|
+
追記
|
8
|
+
|
9
|
+
単に```plt.legend```をループの外に出せばいいのではないでしょうか。
|
10
|
+
|
11
|
+
|
12
|
+
```python
|
13
|
+
for i in list_df:
|
14
|
+
plt.plot(i, "-ob")
|
15
|
+
plt.legend(['label1'])
|
16
|
+
plt.show()
|
17
|
+
|
5
18
|
```
|