Re: vertical_spacing error

Bruce Sherwood <[email protected]>
Newsgroups gmane.comp.python.visualpython.user
Message-ID <[email protected]>
Darn. The statement paintText() should be self.paintText().

Thanks much for catching the error. It will be fixed in the next release.

Bruce Sherwood

On Tue, Mar 8, 2011 at 2:22 AM, Symion <[email protected]> wrote:
>
> I have found problem in vis.primitives.
>
> from visual import *
>
> #  works correctly
> word = text(text="A\nB\nC\nD",
>     vertical_spacing=10)
>
> # Generates the error
> word.vertical_spacing=1
>
> Traceback (most recent call last):
>   File "<pyshell#2>", line 1
>     word.vertical_spacing=1
>   File "C:\Python27\lib\site-packages\vis\primitives.py", line 880, in
> set_vertical_spacing
>     paintText()
> NameError: global name 'paintText' is not defined

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.