Patch for scatter to allow linewidths to be specified.

Attached is a patch to the axes code that adds an extra
paramter, linewidths, to the scatter method.

My motivation for this wa I didn’t want the black borders around all
the points in my plot.

This allows you to do:

scatter(y, x, c=z, linewidths=(0.0,))

and get some really pretty plots, similar to using pcolor/imshow, but
works when your points are not neatly aligned in a grid.

John

scatter.patch (966 Bytes)