Re: [Matplotlib-users] error on different mouse events

2007-06-29 Thread darkside
It's unbeliable. Yes, it works now!!! At least.. I had spend a lot of time with these! So maybe is it a bug? Matplotlib developers: here you have a bug. Thank you very much for your help, I coud never have thougt that it was the problem. 2007/6/28, Matthias Michler <[EMAIL PROTECT

Re: [Matplotlib-users] figure in wxpython

2007-06-29 Thread John Hunter
On 6/29/07, Matt Newville <[EMAIL PROTECTED]> wrote: > I don't think you need to change the wx backend to make a MPL plot > appear in a dockable pane.You can definitely create a wx.Panel and > put a MPL Figure in it such as (untested code): But he wants to use pylab in a shell in his wx envir

Re: [Matplotlib-users] figure in wxpython

2007-06-29 Thread Rein van den Boomgaard
Thanks! does this also allows the use of the pylab interface? I would like to use pylab from the command line (in a pycrust shell that i can embed in a dockable window) and let the figures pop-up in a dockable window too. But still from the command line use the same commands as i would for pylab f

[Matplotlib-users] figure in wxpython

2007-06-29 Thread Matt Newville
Rein, I don't think you need to change the wx backend to make a MPL plot appear in a dockable pane.You can definitely create a wx.Panel and put a MPL Figure in it such as (untested code): import wx import matplotlib from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg from matplot

Re: [Matplotlib-users] figure in wxpython

2007-06-29 Thread John Hunter
On 6/29/07, Rein van den Boomgaard <[EMAIL PROTECTED]> wrote: > OK that is the file that i looked into already. Is the backend > functionality i need really concentrated in only these files? > (amazing..) pretty much - - there is a pretty tight segregation between the figure and the gui. > BTW i

[Matplotlib-users] scaling date ticking

2007-06-29 Thread Thanos Panousis
Hello list, I am plotting some time series data, and the ranges vary dramatically. I cannot find a way to configure the major and minor ticking (hours and days respectively) to scale automatically: if the range is too large, put a tick every 8 hours instead of one, or even place a minor day tick

[Matplotlib-users] figure in wxpython

2007-06-29 Thread Rein van den Boomgaard
> On 6/29/07, Rein van den Boomgaard <[EMAIL PROTECTED]> wrote: > > thanks for answering. I have seen the examples using the oo mpl api, > but > > i would like to use the pylab interface from the shell i'm using > (also > > in the wx GUI). I'm aiming at a very simplified matlab like > interface >

Re: [Matplotlib-users] export of a specific zone of a figure

2007-06-29 Thread Nicolas
Hi, I can figure the first steps : something like : matrix = [] buffer = self.get_renderer().tostring_argb() l, h = self.GetSize() for ligne in xrange(h): matrix.append([]) for colonne in xrange(l): i = 4

[Matplotlib-users] figure in wxPython interface

2007-06-29 Thread Rein van den Boomgaard
correcting the previous post: the plot() works from the Shell, so the 'only' problem now is to force the plot in a pane and not in a frame... Rein - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the

[Matplotlib-users] figure in wxPython interface

2007-06-29 Thread Rein van den Boomgaard
Dear All, Let me explain what i have in mind: - wx widgets AUI interface with dockable panes + editor pane (OK) + (pycrust) shell pane (mostly OK) + figure panes The last one is the important one now. I would like the figure command in matplotlib/pylab to use a pane in m