From: Edward A. <Edw...@da...> - 2005-01-06 04:12:38
|
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) =20 Anyway, have a look at the following snippet (I am uing the WXAgg backend, and have imported pylab): >>> p =3D plot([1,2,3], color =3D 'r', clip_on =3D 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 >>> =20 At present, the clip_on property needs to be set manually, rather than from within the plot command Cheers, Ed =20 |