Closing the graphical window
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.
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.
kill 1 appears to be effective by itself when you run it and then refresh the tab while it says no connection.
from what ive found, you can use:
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! =)