text color problem?
Symion <[email protected]>
| Newsgroups | gmane.comp.python.visualpython.user |
|---|---|
| Message-ID | <[email protected]> |
I have been exploring the Text object a little more and may have found a
bug.
I may not be using the text object correctly but I receive the following
error when changing text color.
from visual import *
words = text(text="Test")
words.color=(1,0,0)
Traceback (most recent call last):
File "<pyshell#118>", line 1
words.color=(1,0,0)
File "C:\Python27\lib\site-packages\vis\primitives.py", line 945, in
set_color
for line in range(len(self.lines)):
AttributeError: 'text' object has no attribute 'lines'
The same error occurs with.
words.starts.__class__
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev