Clip_on not being set

It took me a while to work out how to stop my lines getting clipped at the axes edges (this is especially troublesome for lines that run along an axis as the half that falls outside the axis gets clipped, as do the marker symbols)

Anyway, have a look at the following snippet (I am uing the WXAgg backend, and have imported pylab):

p = plot([1,2,3], color = ‘r’, clip_on = False)
p[0].get_color() #is set as expected
‘r’

p[0].get_clip_on() # should be False, but is True
True

p[0].set_clip_on(False) #Can be set manually
p[0].get_clip_on()
False

At present, the clip_on property needs to be set manually, rather than from within the plot command

Cheers,

Ed