Changing control and graph attributes

Brian Stephanik <[email protected]> Tue, 13 Nov 2012 18:19:47 -0800
Newsgroups gmane.comp.python.visualpython.user
Message-ID <CAFjtKQDgBoptoBb6q-QvAJsO3ATAVyG0-j_z6nOpcT6jYeXMDQ@mail.gmail.com>
Hi,

I'm having trouble updating control and graph attributes after I've already
created them:

my_slider.max = 50
my_gdisplay.ymax = 50

In the slider case, the _location_ of the actual rendered slider doesn't
change in response to me changing the max value. It does seem to 'catch up'
once I try moving the slider, but not before.

In the case of the gdisplay, it seems setting ymin or ymax doesn't do
anything to the graph. I can only get ymin and ymax to work when i
initially create the gdisplay (e.g., my_gdisplay=gdisplay(ymax=50))

Is this a known issue? I don't see anything in the documentation about it.

I'm using VPython-Py 3.2 on OS X 10.8.

Best,

Brian

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov

_______________________________________________
Visualpython-users mailing list
Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/visualpython-users