Skip to content
Sign upLog in
← Back to Community

Closing the graphical window

Profile icon
Bliipie

Hey I'd like to know how to get rid of the graphical window sharing space with the console. I ran a plt.show()once to test a thing, but I don't need any graphics for the project. However now I have a constant black box covering up a corner of the screen every time i open the project.

Voters
Profile icon
EthanSun6
Profile icon
krolalyssa
Profile icon
idanp
Profile icon
owinneese
Profile icon
dherring
Profile icon
wolga
Profile icon
Bliipie
Comments
hotnewtop
Profile icon
SpaceSaver2000

What worked for me in a node project was repeatedly killing all of the processes by using killall5 -9 and then eventually after killing all processes using other methods I refreshed and it got rid of the graphics window. Then again, this was a Node.JS project.

UPDATE

kill 1 appears to be effective by itself when you run it and then refresh the tab while it says no connection.

Profile icon
StudioHawaii

@SpaceSaver2000
thanks

Profile icon
Bookie0

from what ive found, you can use: turtle.bye(), aka turtle.Screen().bye(), closes a turtle graphics window.

click here to learn more: turtle.bye(), aka turtle.Screen().bye(), closes a turtle graphics window.

hope this helps! =)

Profile icon
Bliipie

@Bookie0
Sadly that did almost nothing (changed the color of the window to grey/pink). Thanks for the suggestion though. Also tried plt.close() without result.

Profile icon
Bookie0

ok, sorry about that and good luck!
if this problem persists, and you have tried forking it, it might be a bug? so you could report it here if you want: https://repl.it/bugs

hope this helps1 =)

@Bliipie

Profile icon
CodingCactus

you can just drag the line thing below it up, to cover it

Profile icon
Nettakrim

@CodingCactus
is there a permanent way to remove it i think is what theyre asking

Profile icon
Nettakrim

i also want a souloution to this xD

Profile icon
CodingCactus

@Nettakrim
remove the packages that made it go there in the first place?

Profile icon
Nettakrim

@CodingCactus
that doesnt stop it, once its there it never leaves

Profile icon
CodingCactus

@Nettakrim
just fork the repl then

Profile icon
Bliipie

@CodingCactus
That doesn't do anythong either. I could copy paste all the code into a new project of course but there should be a better solution

Profile icon
CodingCactus

@Bliipie
it worked for me (forking it)