From: Brian S. <bri...@gm...> - 2012-11-14 02:20:38
|
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 |