"plot" function is not defined.

asked 2012-08-23 23:47:58 -0500

kevinng gravatar image

I tried executing this:

from SimpleCV import Image

img = Image('starry_night.png')

histogram = img.histogram(256)


According to the book, the code is suppose to work. However, I got the error NameError: name 'plot' is not defined. Any idea what's wrong?

edit retag flag offensive close merge delete