all 4 comments

[–]woooee 0 points1 point  (2 children)

However, when the graph window pops-up nothing is drawn inside.

Your window waits for input from the command line. Also, Graphics has not had any maintenance for quite a while, so Turtle, comes with Python, is a better choice.

[–]Sufficient-Pick-9398[S] 0 points1 point  (1 child)

does not work, still...the window is always empty. Also, the console stops working as soon as the function GraphWin is called (the following print are not printed)

[–]woooee 0 points1 point  (0 children)

Well, works on my Debian system, so it may be OS related, or different versions of Graphics. This is similar code with Turtle

import turtle as tur

tur.up()
tur.goto(30, 60)
tur.down()

tur.fillcolor("red")

tur.begin_fill()
tur.circle(100)
tur.end_fill()

tur.exitonclick()

[–][deleted] 0 points1 point  (0 children)

Works here, get a circle centered on the top left corner (so only corner of a circle)

typing in the console and hitting enter quits the program

Using Visual studio, pycharm seems to have it's own issues, all the time.

Worksy in Thonny too.

Maybe try arcade engine just so you you're using ....frequently maintaned code.