On Sun, Nov 16, 2008 at 8:32 PM, B Clowers <[EMAIL PROTECTED]> wrote: > I've been trying to set the linestyle of an ellipse with no success. I keep > getting an attribute error whether I try setting the property via accessing > the ellipse instance directly or through the artist. Any ideas? > > --if you uncomment the line containing the linestyle you should see the > error--just paste into ipython -pylab.
The example with the ls='dashed' uncommented works fine for me in svn head, and according to the CHANGELOG, support for linestyle was added in r5645 | jdh2358 | 2008-06-23 09:46:13 -0500 (Mon, 23 Jun 2008) | 1 line commited olle's linestyle patch patch This predates the 0.98.3 release, which was released at svn r5947. I'm not sure what version you are on, but "linestyle" should work on the latest mpl release. If you are having trouble with "ls" on 0.98.3, see if "linestyle" works since it's possible support for the alias was only added later. JDH ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users