[Matplotlib-users] qt config dialogue

2011-04-13 Thread Wolfgang Kerzendorf
Dear all, Is it possible to make a qt config dialogue that works in a similar fashion to the backend of matplotlib when using with ipython --pylab. It should be able to interact with plots (pressing buttons changing stuff in the plot) as well as not block ipython. Is that possible. Are there

[Matplotlib-users] buttons in toolbar2

2011-04-06 Thread Wolfgang Kerzendorf
Dear all, I have had a quick look at changing the buttons in toolbar2. This seems to be backend dependent. It would be really nice to make it possible to add buttons to the toolbar and be backend agnostic. The button should have a picture and a hovertext associated with it. Is it very hard to

[Matplotlib-users] [matplotlib-users] probability map

2011-02-20 Thread Wolfgang Kerzendorf
Dear all, I have tried to make 1 sigma, 2 sigma and 3 sigma contours of my data. To calculate the levels. I took my 2d array (lets call it data). I sorted sortData = sort(data.flatten())[::-1] I normalized it: normSortData = sortData / sum(sortData) Then I did the cumulative sum: cumSum =

[Matplotlib-users] rotate patch (rectangle)

2010-11-22 Thread Wolfgang Kerzendorf
Hello, I have tried in vain to rotate a rectangle patch. I tried to use AffineTransform2D.rotate_deg(20.) and apply it to the Rectangle with set_transform. If I add the patch it doesnt show. What is the right course of action here. Cheers Wolfgang

[Matplotlib-users] dropdown menu

2010-02-22 Thread Wolfgang Kerzendorf
Hello, Now that I have found the awesome widgets in matplotlib I want more: dropdown menus? will that come at some stage? Cheers Wolfgang -- Download Intel#174; Parallel Studio Eval Try the new software tools for

Re: [Matplotlib-users] Interactive use of matplotlib in ipython

2010-02-18 Thread Wolfgang Kerzendorf
than creating a new plot object. I then try to ax.autoscale_view, but that doesnt do anything even after a fig.canvas.draw() update. any ideas? Cheers Wolfgang On Thu, Feb 18, 2010 at 1:18 AM, John Hunter jdh2...@gmail.com wrote: On Wed, Feb 17, 2010 at 7:42 AM, Wolfgang Kerzendorf wkerzend

[Matplotlib-users] Interactive use of matplotlib in ipython

2010-02-17 Thread Wolfgang Kerzendorf
Hello, I would like to build a bit of an interactive fitter with matplotlib and ipython (in pylab environment). I would like to have a a function, which takes x and y as input, then plots these and fits a line to it (just numpy polyfit). if I click a point it will be removed from the fit pool

[Matplotlib-users] building svn on os x 10.6

2009-09-04 Thread Wolfgang Kerzendorf
Hi, I have found a bug that might or might not be related to my setup, when building matplotlib from svn: When building I get the following error: In file included from src/ft2font.h:13, from src/ft2font.cpp:1: /usr/local/include/ft2build.h:56:38: error: freetype/config/

[Matplotlib-users] MacOSX backend problems with picker

2008-12-18 Thread Wolfgang Kerzendorf
Dear all, I'm using matplotlib together with ipython --pylab and have a plot open and can select/deselect points there with the picker and they toggle between o and x. When I do that my matplotlib running under Leopard 10.5.6 and MacOSX backend raises an exception:

[Matplotlib-users] Ticklabels

2008-07-21 Thread Wolfgang Kerzendorf
Dear all, I find it incredibly hard to work with tick labels in matplotlib (on matplotlib 0.98 @ OS X 10.5.4) (It might well be that I haven't stumbled across the right solution yet and it is really easy ;-) ). I want to first of all change the axis so it displays the normal number as

[Matplotlib-users] Backend Control

2008-04-02 Thread Wolfgang Kerzendorf
Hello, I have some problem with the backend controls. Well to be perfectly honest I don't know if they are able to do what I want from them. As far as I understand the pylab package helps me create plots (and the windows from the different backends) without me having to write my own

[Matplotlib-users] Controlling the wxpython matplotlib-frame

2008-03-26 Thread Wolfgang Kerzendorf
Hello all, I have trouble with one of my scripts that uses matplotlib when using python or ipython. The first time it opens, it does not hand the control back o the shell and can be used to work on the matplotlib figure interactively (I use an event handler and picker objects to change my

[Matplotlib-users] ipython, pylab quitting again after first time

2008-03-25 Thread Wolfgang Kerzendorf
Hello, I have some trouble with ipython and matplotlib. I create a figure in one of my functions that I call from ipython. The first time it runs fine and I can use the figure interactively (selecting/ deselcting points and so on). The second time I run it, the code doesnt stop but

[Matplotlib-users] OS X leopard scisoft and TkAgg backend

2008-02-21 Thread Wolfgang Kerzendorf
Dear all, I use the scisoft package on leopard 10.5.2 (it is a package that creates its own python framework and delivers astronomical tools). I have recompiled tcl tkk 8.4 and 8.5 (which in hindsight was probably not a good idea). I also installed matplotlib 0.91.2. If i open ipython

Re: [Matplotlib-users] multiple figures interactively

2007-09-26 Thread Wolfgang Kerzendorf
This might help you it destroys the whole window: pylab.get_current_fig_manager().destroy() and then you open it again with show Lee, Young-Jin wrote: Hi, I ’m writing a python program that draws figures one by one interactively with the user’s input in dos mode. Basically, I give the

[Matplotlib-users] Fitting a curve

2007-08-30 Thread Wolfgang Kerzendorf
I know this is not completely matplotlib related but perhaps you can help me none the less: I want to fit a curve to a set of data. It's a very easy curve: y=ax+b. But I want errors for a and b and not only the rms. Is that possible. What tasks do you recommend for doing that. Thanks in advance

[Matplotlib-users] legend outside the plot

2007-08-27 Thread Wolfgang Kerzendorf
Is there any way to display a legend in a second window or outside the plot? thanks in advance Wolfgang - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search

[Matplotlib-users] stop GTKAgg backend

2007-08-22 Thread Wolfgang Kerzendorf
Is there any way I can stop the mainloop of the gtkagg backend. i know there is a threads_leave thing but I neec the Tk object from matplotlib. The problem is that my script doesnt continue after the window has been closed thanks in advance Wolfgang

Re: [Matplotlib-users] stop GTKAgg backend

2007-08-22 Thread Wolfgang Kerzendorf
TK object which is the window(or matplotlib_object or whatever) to call this function. I am happy to use another backend but I am fairly new to tk and gtk in python so I didnt see anything else. thanks in advance Wolfgang John Hunter wrote: On 8/22/07, Wolfgang Kerzendorf [EMAIL PROTECTED

Re: [Matplotlib-users] matplotlib and interactive use

2007-08-21 Thread Wolfgang Kerzendorf
(). thanks in advance Wolfgang Bill Baxter wrote: Did you try raw_input(hit enter) ? On 8/21/07, Wolfgang Kerzendorf [EMAIL PROTECTED] wrote: Hello, I am currently writing a data reduction program. I want to use pylab in a script and use interactive input of pylab. The problem

[Matplotlib-users] script stuck after show()

2007-08-21 Thread Wolfgang Kerzendorf
The script I am writing gets sometimes stuck after show(). Of course show() halts the script but when I close the window I want it to continue. Is there a sure way to kill off the pylab thread and continue like with a key press event on ESC and then calling a stop routine of the thread. Thanks