get_frame() is deprecated (it is supposed to show you a DeprecationWarning).
Axes class now has a "frame" property, so gca().frame.set_linewidth(2)
should work.
Currently get_frame() returns Axes.patch which is used to draw a axes
background.

-JJ





On Tue, Nov 18, 2008 at 12:24 PM, Christopher Brown <[EMAIL PROTECTED]> wrote:
> Hi Users,
>
> I use the following to adjust the line width of the ticks and bounding box:
>
> for tl in plt.gca().get_xticklines() + plt.gca().get_yticklines():
>     tl.set_markeredgewidth(2)
> plt.gca().get_frame().set_linewidth(2)
>
> I'm not sure when it happened, but sometime relatively recently the
> get_frame().set_linewidth() command stopped working, and only the ticks
> are getting updated.
>
> In [5]: matplotlib.__version__
> Out[5]: '0.98.3'
>
> In [6]: os.name
> Out[6]: 'nt'
>
> Any ideas about what I'm doing wrong?
>
> --
> Christopher Brown, Ph.D.
> Department of Speech and Hearing Science
> Arizona State University
>
> -------------------------------------------------------------------------
> 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
>

-------------------------------------------------------------------------
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

Reply via email to