質問編集履歴
1
内容の追加
    
        title	
    CHANGED
    
    | 
         
            File without changes
         
     | 
    
        body	
    CHANGED
    
    | 
         @@ -4,6 +4,20 @@ 
     | 
|
| 
       4 
4 
     | 
    
         
             
            ### 発生している問題・エラーメッセージ
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
       6 
6 
     | 
    
         
             
            ```
         
     | 
| 
      
 7 
     | 
    
         
            +
            ypeError                                 Traceback (most recent call last)
         
     | 
| 
      
 8 
     | 
    
         
            +
            <ipython-input-2-cb3c2fd6e30e> in <module>()
         
     | 
| 
      
 9 
     | 
    
         
            +
                 11 plt.xlabel("ME")
         
     | 
| 
      
 10 
     | 
    
         
            +
                 12 plt.ylabel("KAISUU")
         
     | 
| 
      
 11 
     | 
    
         
            +
            ---> 13 plt.bar(left, deme, align="center")
         
     | 
| 
      
 12 
     | 
    
         
            +
                 14 plt.show()
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            2 frames
         
     | 
| 
      
 15 
     | 
    
         
            +
            /usr/local/lib/python3.6/dist-packages/matplotlib/axes/_axes.py in bar(self, x, height, width, bottom, align, **kwargs)
         
     | 
| 
      
 16 
     | 
    
         
            +
               2275         if align == 'center':
         
     | 
| 
      
 17 
     | 
    
         
            +
               2276             if orientation == 'vertical':
         
     | 
| 
      
 18 
     | 
    
         
            +
            -> 2277                 left = x - width / 2
         
     | 
| 
      
 19 
     | 
    
         
            +
               2278                 bottom = y
         
     | 
| 
      
 20 
     | 
    
         
            +
               2279             elif orientation == 'horizontal':
         
     | 
| 
       7 
21 
     | 
    
         
             
            TypeError: unsupported operand type(s) for -: 'set' and 'float'
         
     | 
| 
       8 
22 
     | 
    
         
             
            ```
         
     | 
| 
       9 
23 
     | 
    
         |