回答編集履歴
2
修正
test
CHANGED
@@ -40,11 +40,11 @@
|
|
40
40
|
|
41
41
|
y3, x3 = np.histogram(df3['湿度'], bins = 10, range=(0, 100))
|
42
42
|
|
43
|
-
plt.bar(x1[1:], y1, width=3, label='晴れ')
|
43
|
+
plt.bar(x1[1:] - 3, y1, width=3, label='晴れ')
|
44
44
|
|
45
|
-
plt.bar(x2[1:]
|
45
|
+
plt.bar(x2[1:], y2, width=3, label='曇り')
|
46
46
|
|
47
|
-
plt.bar(x3[1:] +
|
47
|
+
plt.bar(x3[1:] + 3, y3, width=3, label='雨')
|
48
48
|
|
49
49
|
plt.legend()
|
50
50
|
|
1
修正
test
CHANGED
@@ -42,9 +42,9 @@
|
|
42
42
|
|
43
43
|
plt.bar(x1[1:], y1, width=3, label='晴れ')
|
44
44
|
|
45
|
-
plt.bar(x2[1:], y2, width=3, label='曇り')
|
45
|
+
plt.bar(x2[1:] + 3, y2, width=3, label='曇り')
|
46
46
|
|
47
|
-
plt.bar(x3[1:], y3, width=3, label='雨')
|
47
|
+
plt.bar(x3[1:] + 6, y3, width=3, label='雨')
|
48
48
|
|
49
49
|
plt.legend()
|
50
50
|
|