Re: [Matplotlib-users] setting thickness of axis frame

2009-02-05 Thread Christopher Brown
Hi Jae-Joon, JL> Everything works fine for me. JL> Can it be just that the canvas is not redrawn after you set the JL> linewidth? It will be helpful if you post a standalone script that JL> reproduces your problem. Regards, Yes, this was the problem. I don't know why the same scripts were workin

Re: [Matplotlib-users] setting thickness of axis frame

2009-02-04 Thread Jae-Joon Lee
> Actually, I just went back and found a reply from Jae-Joon to a post of > mine in November about this. He points out that get_frame() is > deprecated, but that gca().frame.set_linewidth(2) should work. This is > not working for me either now (it was at the time), and now that I > notice, I am als

Re: [Matplotlib-users] setting thickness of axis frame

2009-02-04 Thread Jeff Whitaker
Michael Hearne wrote: > Forgot the attachment... Michael: It's ax.frame.set_linewidth (not ax.patch). -Jeff > > > Michael Hearne wrote: >> Chris - Thanks for your reply. Unfortunately, it didn't seem to have >> any effect on the frame I created. >> >> I notice with matplotlib 0.98.5.1, I get a

Re: [Matplotlib-users] setting thickness of axis frame

2009-02-04 Thread Michael Hearne
Forgot the attachment... Michael Hearne wrote: Chris - Thanks for your reply. Unfortunately, it didn't seem to have any effect on the frame I created. I notice with matplotlib 0.98.5.1, I get a warning with get_frame(), telling me to use the patch object of the axes instead of get_frame().

Re: [Matplotlib-users] setting thickness of axis frame

2009-02-04 Thread Michael Hearne
Chris - Thanks for your reply. Unfortunately, it didn't seem to have any effect on the frame I created. I notice with matplotlib 0.98.5.1, I get a warning with get_frame(), telling me to use the patch object of the axes instead of get_frame(). So, when I use this with an axes created for a Bas

Re: [Matplotlib-users] setting thickness of axis frame

2009-02-04 Thread Christopher Brown
Hi, CM> > I use: CM> > CM> > plt.gca().get_frame().set_linewidth(2) CM> > CM> CM> That is not working for me. Is it working now for the OP? Actually, I just went back and found a reply from Jae-Joon to a post of mine in November about this. He points out that get_frame() is deprecated, but tha

Re: [Matplotlib-users] setting thickness of axis frame

2009-02-03 Thread Christopher Brown
Hi Michael, MH> The Axes object has a method for turning on the frame: MH> set_frame_on(). How do I set the thickness of the frame that MH> appears? I use: plt.gca().get_frame().set_linewidth(2) -- Christopher Brown, Ph.D. Department of Speech and Hearing Science Arizona State University --

[Matplotlib-users] setting thickness of axis frame

2009-02-03 Thread Michael Hearne
The Axes object has a method for turning on the frame: set_frame_on(). How do I set the thickness of the frame that appears? Thanks, Mike Hearne -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)