On Tue, Dec 1, 2009 at 12:24 AM, Gael Varoquaux
<[email protected]> wrote:
> On Mon, Nov 30, 2009 at 03:41:40PM -0800, M Trumpis wrote:
>> I am using mlab (following the lead of most of the code examples). So
>> just to be clear, you're suggesting accessing the "scalars" attribute
>> directly, instead of using set() or reset(). This works!
>
>> If I did have to use set, it looks like I can use the keyword arg
>> "trait_change_notify=True". Or I can follow up by calling update() on
>> the MArraySource, correct?
>
> I am a bit suprised: 'set' works for me. Unless I use
> "trait_change_notify=False", in which can it is not supposed to work
> until I do an 'update'.
>

I thought I had tried both ways (reset() and set()), but you are
correct: reset() doesn't update automatically, while set() does.

Thanks Gael

Mike

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to