I have some weird results when I run my code which is meant to display a canvas and a turtle and some text with the turtles coordinates.
Basically the turtle coordinates do not seem to correspond with the TK create_text coordinates.
- Code: Select all
canvas_id = cv1.create_text(t1.xcor(), t1.ycor(), font=("Purisa",12),anchor="nw")
cv1.insert(canvas_id, 0, t1.pos())
I end up with this output:
Could anyone help please?