Citation :
Traceback (most recent call last):
File "<pyshell#183>", line 1, in <module>
count, bins, ignored = plt.hist(s, 30, normed=True)
File "C:\Python25\Lib\site-packages\matplotlib\pyplot.py", line 1633, in hist
ret = gca().hist(*args, **kwargs)
File "C:\Python25\Lib\site-packages\matplotlib\axes.py", line 5124, in hist
align=align, log=log)
File "C:\Python25\Lib\site-packages\matplotlib\axes.py", line 3288, in bar
assert len(height)==nbars, "argument 'height' must be %d or scalar" % nbars
AssertionError: argument 'height' must be 31 or scalar
|