When using scatter plotting method and linestyles argument the output seems to ignore the linestyles keyword value at least in SVN. Can someone confirm this or did I misunderstood the functionality?
I am trying to make a plot where the colour of the line changes as a function of data value, but I don't want that each point (marker) is plotted separately, but that the colour changes smoothly. I believe scatter method could be used when optional arguments "c = values" and linestyles = 'solid' are used. However, independent what the linestyles argument value is, I always get the markers plotted and no line appears.
Example code (markers, but no solid line!?):
import numpy as np
import pylab as p
data = np.arange(10)
p.scatter(data, data, c = data, s = data*10, linestyles = 'solid')