Re: [Matplotlib-users] axis formatting

2008-08-27 Thread Jae-Joon Lee
Hi Uri, What version of matplotlib are you using? I guess the get_frame() method is deprecated (but still available) in the recent version of matplotlib. Instead, frame and patch attributes can be used. I only started looking into the code behind the matplotlib recently so I don't know much abou

Re: [Matplotlib-users] axis formatting

2008-08-27 Thread Jae-Joon Lee
You can suppress the tick marks on the top and right axis as Mathieu suggested. Setting frame_on as False will suppresse both the bounding lines and the white background patch of the axes. You can suppress only the bounding lines by ax = gca() ax.frame.set_visble(False) Note that this will dele

Re: [Matplotlib-users] axis formatting

2008-08-27 Thread Mathieu Leplatre
Uri, You could look have a look at : gca().xaxis.tick_bottom() gca().yaxis.tick_left() or hide the frame : ax = axes( FrameOne=False ) Hope this helps. On Tue, Aug 26, 2008 at 11:35 PM, Uri Laserson <[EMAIL PROTECTED]> wrote: > Hi, > > Is it possible to create plots that only have a single x

[Matplotlib-users] axis formatting

2008-08-26 Thread Uri Laserson
Hi, Is it possible to create plots that only have a single x-axis on the bottom and a single y-axis on the left, while suppressing an upper or right axis (i.e., have the graph be "open")? Thanks! Uri -- Uri Laserson PhD Candidate, Biomedical Engineering Harvard Medical School (Genetics) Massac