In [1]: plt.bar(range(3), 1)
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<elided>
ValueError: incompatible sizes: argument 'height' must be length 3 or scalar
Well, it is a scalar...