Why does turtle open an even smaller screen when the canvas is small?
03:50 28 May 2020

I'm trying to draw on a small 200x200 screen using turtle, however the drawing doesn't pop up as full size, it opens a smaller window and I have to scroll up/down, left/right (just a bit) to see the whole drawing. I don't have this problem with larger windows. How do I prevent this?

import turtle
import random

height, width = 200, 200
screen = turtle.Screen()
screen.setup(width, height)
screen.setworldcoordinates(0, 0, width, height)

t = turtle.Turtle()
t.speed(1)

for _ in range(5):
    t.penup()
    t.goto(random.randint(20, width-20), random.randint(0, height-40))
    t.pendown()
    t.circle(20)

edit: screenshot, I want the actual size window instead of the scrolls

python turtle-graphics python-turtle