質問編集履歴

1

内容の追加

2019/10/11 11:03

投稿

python555
python555

スコア16

test CHANGED
File without changes
test CHANGED
@@ -9,6 +9,34 @@
9
9
 
10
10
 
11
11
  ```
12
+
13
+ ypeError Traceback (most recent call last)
14
+
15
+ <ipython-input-2-cb3c2fd6e30e> in <module>()
16
+
17
+ 11 plt.xlabel("ME")
18
+
19
+ 12 plt.ylabel("KAISUU")
20
+
21
+ ---> 13 plt.bar(left, deme, align="center")
22
+
23
+ 14 plt.show()
24
+
25
+
26
+
27
+ 2 frames
28
+
29
+ /usr/local/lib/python3.6/dist-packages/matplotlib/axes/_axes.py in bar(self, x, height, width, bottom, align, **kwargs)
30
+
31
+ 2275 if align == 'center':
32
+
33
+ 2276 if orientation == 'vertical':
34
+
35
+ -> 2277 left = x - width / 2
36
+
37
+ 2278 bottom = y
38
+
39
+ 2279 elif orientation == 'horizontal':
12
40
 
13
41
  TypeError: unsupported operand type(s) for -: 'set' and 'float'
14
42