Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DrawingTools AttributeError #1

Open
jtanadi opened this issue Dec 13, 2017 · 0 comments
Open

DrawingTools AttributeError #1

jtanadi opened this issue Dec 13, 2017 · 0 comments

Comments

@jtanadi
Copy link

jtanadi commented Dec 13, 2017

I was getting AttributeErrors & narrowed it down to the "viewDidChangeGlyph" observer. Line 113 in myDrawCallback is one of the line() drawing functions.

screen shot 2017-12-13 at 1 33 19 pm

I think that observer doesn't like being used to draw for some reason... something like this seems to work better (also then you don't have to redefine self.g every time the glyph window draws):

screen shot 2017-12-13 at 1 38 08 pm

(viewDidChangeGlyph points to changeGlyph & the other ones still point to myDrawCallback)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant