[Matplotlib-users] Remove Patch Rectangle Around Plot

2009-07-01 Thread Mark Larsen
Hopefully a really simple question. How do I remove the box (the black rectangle) around the plot. I tried ax = fig.add_subplot(111) ax.patch.set_visible(False) but this makes the entire patch invisible. Thanks, Mark

Re: [Matplotlib-users] Remove Patch Rectangle Around Plot

2009-07-01 Thread Mark Larsen
I think what you want is ax = fig.add_subplot(111,frameon=False) JLS D'oh, I knew it had to be easy. Thanks JLS. -- ___ Matplotlib-users mailing list

Re: [Matplotlib-users] Pixel Position of X/Y Axis

2009-04-30 Thread Mark Larsen
You may use the bbox attribute of the axes. For example,  ax.bbox.extents gives you the x,y coordinates of the lowerleft and topright corners. Perfect, thanks so much. -- Register Now Save for Velocity, the Web

Re: [Matplotlib-users] Pixel Position of X/Y Axis

2009-04-29 Thread Mark Larsen
It's been a while, please allow me to bump this... Sorry.  I use matplotlib to create PNGs graphics for display on a web-page.  I want to make the plots zoom-able.  I'll use javascript to capture the pixel positions of the user's selected zoom region on the PNG plot.  I'll then translate this

[Matplotlib-users] Pixel Position of X/Y Axis

2009-04-16 Thread Mark Larsen
MPL Users, How can I get the matched max and min pixel/coordinate positions of my x and y axises? Thanks, LarsenMTL -- Stay on top of everything new and different, both inside and around Java (TM) technology -

Re: [Matplotlib-users] Pixel Position of X/Y Axis

2009-04-16 Thread Mark Larsen
I am not sure what you are asking -- could you elaborate? Sorry. I use matplotlib to create PNGs graphics for display on a web-page. I want to make the plots zoom-able. I'll use javascript to capture the pixel positions of the user's selected zoom region on the PNG plot. I'll then translate