Re: [Matplotlib-users] tkinter segv under opensuse 10.3

2008-05-13 Thread Malte Marquarding
Hi, The segv also occurs in matplotlib-0.90.1. A clean build doesn't help. Here is the gdb output, looks like something is pointing into nirvana.. (gdb) p bboxo $1 = (gdb) p bbox $2 = (Bbox *) 0x7ffb (gdb) p bbox->_ll Cannot access memory at address 0x7ffb Cheers, Malte On 13/05/2008,

[Matplotlib-users] Disable zoom on toolbar

2008-05-13 Thread Søren Nielsen
Hi, I want to be able to disable the zoom tool (when it has been selected) when I press another button on the toolbar, and disable the same button when I click the zoom tool... anyone know how to do this?? Thanks, Soren - Thi

Re: [Matplotlib-users] Plotting issue with mpl = getting stuck

2008-05-13 Thread Eric Emsellem
Hi, thanks for the input. In fact this happens on a dual core machine. As for the Ipython version etc it is written at the end of my original email. I'll try to see with the Ipython forum maybe. Not sure where it comes from, which is the difficult part (mpl, ipython, or...?) I'll also try to iso

Re: [Matplotlib-users] Plotting issue with mpl = getting stuck

2008-05-13 Thread Darren Dale
It would also be useful to know what matplotlib version and backend you are using, and what version of ipython. For what its worth, I use ipython -pylab with svn/bzr ipython and the qt4agg backend on a multicore machine without any problems. If you can, I suggest trying the development branch of

Re: [Matplotlib-users] tkinter segv under opensuse 10.3

2008-05-13 Thread Michael Droettboom
This looks like the same symptoms as this (unresolved) bug here: http://sourceforge.net/tracker/index.php?func=detail&aid=1949982&group_id=80706&atid=560720 Your gdb backtrace reveals that you have debugging symbols in matplotlib, so we've got a little more information now. Thanks. Since this

Re: [Matplotlib-users] Plotting issue with mpl = getting stuck

2008-05-13 Thread Michael Droettboom
That's a good one ;) There are some pretty clever things done with threading when you do "ipython -pylab" to make the GUI and the shell responsive at the same time. I wonder if you've entered a race condition/deadlock or something. A useful piece of information is whether you are running on

Re: [Matplotlib-users] minus sign instead of hyphen in negative axes labels

2008-05-13 Thread Michael Droettboom
Presently, there's no direct way to do this. matplotlib uses the standard Python (derived from C) number formatting which uses a hyphen. There are a couple of workarounds, however. You can set a custom tick formatter by providing a function and wrapping it in a FuncFormatter object. (See att

Re: [Matplotlib-users] [newb] batch processing

2008-05-13 Thread Michael Droettboom
Your matplotlib is probably configured to use a GUI backend. Set the backend to "pdf" in either your matplotlibrc file or with import matplotlib matplotlib.use("pdf") at the top of your script. If you still see flashing windows, that's a bug, and let us know so we can fix it. Cheers, Mike N

Re: [Matplotlib-users] minus sign instead of hyphen in negative axes labels

2008-05-13 Thread Michael Droettboom
Forgot to attach example. Sorry. Michael Droettboom wrote: Presently, there's no direct way to do this. matplotlib uses the standard Python (derived from C) number formatting which uses a hyphen. There are a couple of workarounds, however. You can set a custom tick formatter by providing a

Re: [Matplotlib-users] getting the min and max values of an axis for plotting

2008-05-13 Thread Fabrice Silva
Le lundi 12 mai 2008 à 11:08 +0200, Johann Cohen-Tanugi a écrit : > hello, > I have a function, which I am plotting. I want to add a line positioned > at, say, the mean of the function, so I want to do plot([x,x],[y0,y1]). > In order to get y0, and y1, my brute force trial and error browsing of >

[Matplotlib-users] Plotting issue with mpl = getting stuck

2008-05-13 Thread Eric Emsellem
Hi, I am having a recurrent (and very annoying) problem with plotting. Basically: I enter my Ipython session (with -pylab), execute a few commands from locally developed modules, and then try to make one plot. The plot does not appear (I don't get back the command line), and my session is then c