John Hunter wrote: > On Wed, Aug 6, 2008 at 8:51 AM, Manuel Metz <[EMAIL PROTECTED]> wrote: > >> I think the section Controlling axes properties of >> http://matplotlib.sourceforge.net/tutorial.html needs to be updated, since >> >> frame = gca(gca(), 'frame') >> setp(frame, 'linewidth', 2) >> >> doesn't work any more with mpl 0.98.x ... > > Argg, the dreaded frame/patch rears it's ugly head. Eric, did you add > the deprecation warning? It seems to me we could use set/get frame to > set the frame attr and set/get patch to set the patch attr to support > people used to the matlab idiom as in the tutorial above.
Uh, I just noticed that the example couldn't have worked before ;-) frame = gca(gca(), 'frame') # fails --> frame = getp(gca(), 'frame') # ;-) ------------------------------------------------------------------------- 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-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel