Hi list :)
I'm having troubles with windows vista and the wxpython toolbar.
it works fine on linux (not tested on any other windows//mac os)
I just see a gray bar where the toolbar should be.
I do something like this:
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as
FigureCanva
Hi list :)
I'm having troubles with windows vista and the wxpython toolbar.
it works fine on linux (not tested on any other windows//mac os)
I just see a gray bar where the toolbar should be.
I do something like this:
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as
FigureCanvas
I forgot to CC the list :S
and I updated to svn trunk and it now works fine :)
guillaume ranquet wrote:
> this question raised my interest and I tried It.
> unfortunately, I get errors :(
>
> when executing the demo source code linked, I get
>
>
> $ python ~/testmpl
Hi list
I've been asked to transform my app to something more "dynamic"
it currently reads an xml file, it has now to read a stream of xml from
a socket (I can handle this part :D) and plot each point as they are
coming from the network.
I'll end up having tons of points over multiple axes; I gue
Sandro Tosi wrote:
> Hello guillaume,
>
> On Mon, Jun 29, 2009 at 10:53, guillaume ranquet wrote:
>> I've been asked to transform my app to something more "dynamic"
>> it currently reads an xml file, it has now to read a stream of xml from
>> a socket
Hi list,
I'm trying to get a dynamic plot running.
I'm stuck at feeding the data to the lines.
basically I've a callback that receives a (y,x1,x2) tuple and I would
like to add the 2 points to the two matplotlib.lines of the figure.
should I handle a copy of xdata/ydata and gives the updated set
Ryan May wrote:
>
>
> On Fri, Jul 3, 2009 at 8:32 AM, guillaume ranquet <mailto:granq...@wyplay.com>> wrote:
>
> Hi list,
>
> I'm trying to get a dynamic plot running.
> I'm stuck at feeding the data to the lines.
>
> basicall
Jae-Joon Lee wrote:
> Well, if you think something is wrong, I guess you may have chosen a
> wrong tool.
> MPL is mainly for 2d plotting, and not very strong for animation
> although it supports some.
I just think that I have a nice hammer, a nice nail ... and not a clue
on how to use a hammer (I
Hi list (yes, me, again :D)
I'm having difficulties with matplotlib svn (rev 7249) and animations.
I'm a bit lost on what I have to do to get my animation running smoothly?
I had various attempts, It seems that the best result I can have is by
totally skipping the canvas.restore_region(self.backg
)
self.figure.set_size_inches(float(pixels[0])/self.figure.get_dpi(),
float(pixels[1])/self.figure.get_dpi(),forward=True)
I took that code from: http://www.scipy.org/Matplotlib_figure_in_a_wx_panel
any hints on what to do from there?
guillaume ranquet wrote:
> Hi list (yes, me, again :D)
>
gt; On Thu, Jul 9, 2009 at 3:40 AM, guillaume ranquet <mailto:granq...@wyplay.com>> wrote:
>
> Hi again.
>
> I found out that removing the resize handler of the wxpanel gives me a
> nice animated plot that works as expected (but with no resize :-/)
>
> def _
I'm trying to get approx 4k points plotted into 5 subplots which I would
like interactive (ie: ability to zoom/pan ...).
there's nothing special except that the subplots share axe x.
It gets some seconds (3 to 5) on a p4 dual core @ 3Ghz to pan/zoom. It
seems utterly slow to me: what do you think
> On Mon, May 18, 2009 at 10:23 AM, guillaume ranquet
> wrote:
>> > I'm trying to get approx 4k points plotted into 5 subplots which I would
>> > like interactive (ie: ability to zoom/pan ...).
>> > there's nothing special except that the subplots share
guillaume ranquet wrote:
>> On Mon, May 18, 2009 at 10:23 AM, guillaume ranquet
wrote:
>>>> I'm trying to get approx 4k points plotted into 5 subplots which I
would
>>>> like interactive (ie: ability to zoom/pan ...).
>>>> there's
this bit of code:
manager = pylab.get_current_fig_manager()
segfaults when I'm using pylab embedded in Wx.
it works well with gtkAgg.
I'm using it in an event handler, directly taken from the cookbook:
http://www.scipy.org/Cookbook/Matplotlib/Interactive_Plotting
I wonder what I'm doing wrong?
Christopher Barker wrote:
> John Hunter wrote:
>> You cannot import pylab or pyplot is you are embedding mpl in wx
>> (totally unsupported and expected to fail) -- you need to follow the
>> patterns in
>>
>> http://matplotlib.sourceforge.net/examples/user_interfaces/index.html
>
> or use wxMPL:
>
I'm currently trying to improve my app to render more and more data.
I'm wondering if matplotlib keeps an internal copy of the datas once the
plot function has been called?
from what I understand from python (I'm quite new to python), everything
is reference and no implicit copies are done. I'm t
lot keeps a "reference" to your
> data after you pass it in so it continue to redraw it as the plot is
> panned/zoomed/resized etc. You can safely del your local reference, but
> the memory itself will not be freed, since matplotlib still needs it.
>
> Mike
>
> guillaume
d it, and the only way to do that is destroy the
> figure that references it. It's virtually impossible to create a
> dangling reference in Python (from within Python).
>
> Mike
>
> guillaume ranquet wrote:
>> Thanks Mike,
>> I just wanted to be sure wether matplotlib
nto a Numpy array and
> pass that to matplotlib? matplotlib will only keep a reference to the
> Numpy array, which should be far more compact, and you can safely remove
> the references to the xml tree and that memory should be freed.
>
> Cheers,
> Mike
>
> guillaume ranquet w
20 matches
Mail list logo