can't believe i was using this instead of self for python
nasty code to put all the points and lines on the darned page