I created a very simple scatter plot using pylab.
pylab.scatter(engineSize, fuelMile)
pylab.show()
The rest of the program is not worth publishing, because this is the line that gives me the problem. When I change the "spread" to the "graph", it graphically displays the data, but each point is part of the line, and this makes things whole literally messy. I just need dots, not a string, but I get this huge error message that ends with:
File "C:\Python26\lib\site-packages\numpy\core\fromnumeric.py", line 1643, in amin
return amin(axis, out)
TypeError: cannot perform reduce with flexible type
source
share