import numpy as np
a = ['','','',1.1,2.2]
mask_a = [i == '' for i in a]
b = np.ma.MaskedArray(a, mask=mask_a)
Chris Withers wrote:
> Eric Firing wrote:
>
>> Chris,
>>
>> Use masked arrays. See masked_demo.py in the mpl examples subdirectory.
>>
>
> Hi Eric,
>
> I took a look at that, b
your self.show() is passing the order to the frame; you need to
comunicate with the canvas with draw()
I suggest you to use wxmpl, it is the best way to integrate mpl into wx
http://agni.phys.iit.edu/~kmcivor/wxmpl/
Bob Cumming wrote:
> Hello,
>
> I have a problem when I try to refresh a plot
I have the same problem with ubuntu gutsy. I believe it is a bug in
libgnomeprint, not in wx.
Ryan Krauss wrote:
> FYI, I see this same warning in another wxPython program of mine that
> doesn't use mpl or wxmpl, so it seems like it is a wxPython issue.
>
> Solutions are still welcome.
>
> Ryan
>
As as wxmpl user I say that is a great great idea!
Christopher Barker wrote:
> John Hunter wrote:
>
>> You cannot import pylab and use the FigureCanvasWx at the same time.
>> Please follow the lead of examples/embedding_in_wx*.py if you want to
>> use matplotlib in a wxpython GUI.
>>
>
> o
On 10/15/07, Ken McIvor <[EMAIL PROTECTED]> wrote:
> On Oct 12, 2007, at 4:28 PM, Giorgio F. Gilestro wrote:
> >
> > Do you know if there is a reason why I cannot succeed in generating a
> > pick_event using wxmpl?
>
> Yes, WxMpl disables all matplotlib events to ensure that
Do you know if there is a reason why I cannot succeed in generating a
pick_event using wxmpl?
I know I could use EVT_POINT but I need the picker event to return the event.ind
thanks!
-
This SF.net email is sponsored by: Splun
Well I did fix it myself in the meanwhile. I must say I don't like
working with the CVS because I am planning to release the application
I am writing and I need to guarantee a minimal version of the packages
that the end user should eventually install without caring too much
about the CVS.
Thank y
A really great IDE for windows users is pyScripter (
http://mmm-experts.com/Products.aspx?ProductId=4 )
It's probably the best I could try so far (and it's free).
cheers
On 3/30/07, Tim Hirzel <[EMAIL PROTECTED]> wrote:
> As for a good IDE. I really like eclipse with pydev. For easy
> student/be
Hi,
I have to question that will help some colleagues/friends of mine to switch
to python from matlab.
1 - is there an automatic translator of code from matlab to
python/numpy/matplotlib? I believe it would be very easy to implement due
the similar syntax between the two. I could do something sim