From: Gary S. <st...@nm...> - 2008-12-05 18:22:06
|
Hi all, The following minimal example on my machine produces a /white/ label in the center of the screen. Doesn't matter what I use for the color keyword: color=visual.color.red or color=(1,0,0) or color=(1.0,0.0,0.0), I always get a white label. Any guesses as to what's going on? C:\testdir\ python Enthought Python Distribution (2.5.2001) -- http://code.enthought.com Python 2.5.2 |EPD 2.5.2001| (release25-maint:60919M, Feb 21 2008, 10:31:43) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import visual >>> print visual.version (3, 2, 11) >>> a = visual.label(text='test',color=(1,0,0)) >>> This is on WinXP (32bit) ... Un(?)related, I'm also getting the surprising (to me) effect that if I set the label keyword line=0, the label disappears entirely, regardless of visibility, which doesn't appear to be the documented behavior. I'm coming back to VPython after a long hiatus (from v2.something_small), so I'm probably missing something silly here. -best Gary |