Re: [Matplotlib-users] how to clip text outside a polygon path?

2010-07-13 Thread shuwj
Hi JJ, Thanks for your reply. I can't access the svn for some network reason. Will you please send me a copy of your patch about Text.draw? Regards, David.shu > It seems that there are at least two issues related with the text >clipping. > The first issue is that the Text.draw method

[Matplotlib-users] Matplotlib embedded in larger cocoa App, MacOSX

2010-07-13 Thread felix seltzer
Hey, Im having some trouble embedding a figure into a larger cocoa app. i found one old post that stated that this was not easily possible using the newish macosx backend, but that perhaps the old cocoaagg backend would work. Has any one done this? I cant switch GUI frameworks as the larger app is

Re: [Matplotlib-users] permission denied error

2010-07-13 Thread Friedrich Romstedt
010/7/13 Isaac Salazar > I have read access to the directory and have an admin account, however, i'm > not the user who set up the machine (084535) > The home.ppm file and others in that directory show  "Write only (Drop Box)" > for admin. > For everyone, the permissions are set to "No Access" >

Re: [Matplotlib-users] imshow memory leak in pylab mode?

2010-07-13 Thread John Hunter
On Mon, Jul 12, 2010 at 5:06 PM, K.-Michael Aye wrote: > On 2010-07-12 23:17:19 +0200, John Hunter said: > >> On Mon, Jul 12, 2010 at 4:06 PM, K.-Michael Aye >> wrote: >>> Dear all, >>> >>> I'm not sure if this is by design or a problem: It's by design and is not a leak. matplotlib supports mul

Re: [Matplotlib-users] colorbase AttributeError: 'AxesImage' problem

2010-07-13 Thread Eric Firing
On 07/13/2010 10:02 AM, Bala subramanian wrote: > Eric, > Sorry for not providing the test data. Attached herewith both my script > and test data. > > Bala > > On Tue, Jul 13, 2010 at 9:14 PM, Eric Firing > wrote: > > On 07/13/2010 07:12 AM, Bala subramanian wrote: >

Re: [Matplotlib-users] Basemap Rendering Issue

2010-07-13 Thread Steve McFarlin
On Jul 13, 2010, at 11:36 AM, Jeff Whitaker wrote: > On 7/13/10 11:41 AM, Steve McFarlin wrote: >> On Jul 12, 2010, at 6:15 PM, Jeff Whitaker wrote: >> >>> On 7/12/10 5:34 PM, Steve McFarlin wrote: Hello, I have an issue rendering with basemap on a Debian server using Agg. I >>

Re: [Matplotlib-users] Redisplay a figure after it was closed

2010-07-13 Thread Benjamin Root
Pellegrini, Sorry for the delay. The answer is that, unfortunately, it is not possible to reshow a figure after closing it, even if you still have the figure object. Because of GUI backends, the close action destroys some GUI objects that were created when the figure was created. Therefore, a r

Re: [Matplotlib-users] colorbase AttributeError: 'AxesImage' problem

2010-07-13 Thread Eric Firing
On 07/13/2010 07:12 AM, Bala subramanian wrote: > Friends, > I tried to incorporate an example script for colorbar given in the > following link into my code. > > http://matplotlib.sourceforge.net/examples/api/colorbar_only.html > > When i run the program, i get the following error. I didnt use > s

Re: [Matplotlib-users] Scale legend box border, dashed and dotted lines when the figure size is changed

2010-07-13 Thread Eric Firing
On 07/12/2010 01:11 PM, John Hunter wrote: > On Mon, Jul 12, 2010 at 5:11 PM, Jeffrey Blackburne wrote: >> Actually, I have been able to do it like this: >> >> mpl.rcParams['patch.linewidth'] = 0.2 >> >> Hope that helps, and sorry I didn't reply sooner. > > Of course this will affect any other pat

Re: [Matplotlib-users] Basemap Rendering Issue

2010-07-13 Thread Jeff Whitaker
On 7/13/10 11:41 AM, Steve McFarlin wrote: > On Jul 12, 2010, at 6:15 PM, Jeff Whitaker wrote: > >> On 7/12/10 5:34 PM, Steve McFarlin wrote: >>> Hello, >>> >>> I have an issue rendering with basemap on a Debian server using Agg. I have >>> confirmed that matplotlib does render using the followi

[Matplotlib-users] permission denied error

2010-07-13 Thread Isaac Salazar
I have read access to the directory and have an admin account, however, i'm not the user who set up the machine (084535)The home.ppm file and others in that directory show  "Write only (Drop Box)" for admin.For everyone, the permissions are set to "No Access"I was able to add a new permission user

Re: [Matplotlib-users] Basemap Rendering Issue

2010-07-13 Thread Steve McFarlin
On Jul 12, 2010, at 6:15 PM, Jeff Whitaker wrote: > On 7/12/10 5:34 PM, Steve McFarlin wrote: >> Hello, >> >> I have an issue rendering with basemap on a Debian server using Agg. I have >> confirmed that matplotlib does render using the following example. >> >> # do this before importing pylab

[Matplotlib-users] colorbase AttributeError: 'AxesImage' problem

2010-07-13 Thread Bala subramanian
Friends, I tried to incorporate an example script for colorbar given in the following link into my code. http://matplotlib.sourceforge.net/examples/api/colorbar_only.html When i run the program, i get the following error. I didnt use set_ylabel option in my code. I am not getting why this error a

Re: [Matplotlib-users] how to clip text outside a polygon path?

2010-07-13 Thread Jae-Joon Lee
It seems that there are at least two issues related with the text clipping. The first issue is that the Text.draw method does not properly set clip path. I think I fixed this in r8541 and r8542. The second issue is that the agg backend does not seem to support a clip path yet for the text. Also,

Re: [Matplotlib-users] Cannot get key_press_event to work with gtk builder

2010-07-13 Thread John Hunter
On Tue, Jul 13, 2010 at 5:34 AM, Preben Randhol wrote: > Hi > > I have tried the mpl and glade examples and tried different approaches > from the net, but I can only get button_press_event to work with a matplot > canvas. key_press_event does not work using gtkagg for GUI. > > Is this due to the g

[Matplotlib-users] how making autoscale to ignore not visible lines

2010-07-13 Thread Georges Schutz
Hello all I am new to this newsgroup and not that experienced in using matplotlib. I build a figure with some interactive widget elements (Button, Slider, CheckButtons). I use the CheckButtons to interactively show or hide different time series by first plotting them and ones plotted turn the v

Re: [Matplotlib-users] permission denied error

2010-07-13 Thread Friedrich Romstedt
2010/7/12 Isaac Salazar : > Hello, > I am getting a permission error when trying to open a figure or plotting > using matplotlib. > TclError: couldn't open > "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/matplotlib/mpl-data/images/home.ppm": > permission denied Sim

Re: [Matplotlib-users] problem importing pyplot/pylab on mac os x 10.4.11

2010-07-13 Thread Karianne Holhjem
It works! Awsome! Thank you so much!! I guess it is generally better to install everything that's using each other's programs at the same time, or update what you already have to the latest version upon installing more stuff. Cheers, Karianne On Fri, 9 Jul 2010, John Hunter wrote: > On Fri,

[Matplotlib-users] print to aprint device!

2010-07-13 Thread sa6113
Dear all, I want to print the plotted curves to a printer NOT to a file. if you know somthing such as "QwtPlotPrintFilter " class in Qwt. Which module help me? -- View this message in context: http://old.nabble.com/print-to-aprint-device%21-tp29149286p29149286.html Sent from the matplotlib -

[Matplotlib-users] Cannot get key_press_event to work with gtk builder

2010-07-13 Thread Preben Randhol
Hi I have tried the mpl and glade examples and tried different approaches from the net, but I can only get button_press_event to work with a matplot canvas. key_press_event does not work using gtkagg for GUI. Is this due to the gtk builder 2.16? I mean does the main window steal the key_presses o

Re: [Matplotlib-users] Plot moves while using the "Zoom to rectangle" button

2010-07-13 Thread Preben Randhol
> On 07/13/2010 02:05 AM, John Hunter wrote: >> I also see buggy behavior, but on my ubuntu linux system I see that >> the whole subplot gets painted black on a mouse press and remains so >> while the rubber-banding is in effect. It's not strictly black, but >> it looks like blackish bit noise. I

Re: [Matplotlib-users] Plot moves while using the "Zoom to rectangle" button

2010-07-13 Thread João Luís Silva
On 07/13/2010 02:05 AM, John Hunter wrote: I also see buggy behavior, but on my ubuntu linux system I see that the whole subplot gets painted black on a mouse press and remains so while the rubber-banding is in effect. It's not strictly black, but it looks like blackish bit noise. I also notice