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] 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 >

[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