donkirkby / live-py-plugin

Live coding in Python with PyCharm, Emacs, Sublime Text, or even a browser
https://donkirkby.github.io/live-py-plugin
MIT License
291 stars 57 forks source link

Dot changes pen size #362

Closed donkirkby closed 2 years ago

donkirkby commented 2 years ago

What I did

Move forward after drawing a dot.

import turtle as t

t.dot(50)
t.forward(100)

What happened

The forward line has thickness 50.

What I wanted to happen

It should have the default thickness of 1.

My environment

Describe the versions of everything you were using:

donkirkby commented 2 years ago

May have to save the pen state and restore it at the end of dot(). Related bug: calling pen() doesn't return anything.