#๐ Trying to use a graphics module and its just not working
34 messages ยท Page 1 of 1 (latest)
@boreal marsh
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
this is the module
im just tryna draw a line
from SimpleGraphics import *
line(100, 100, 700, 500)
this pops up but nothing is drawn
try changing the __bgcolor variable in the SimpleGraphics.py file
the line is probaby just too dark
it is the same unfortunately
It didn't change the background color?
no
the background is still the same colour
which i am also confused about
i set it too
EE4B2B
Might have to do with it being on mac not sure
that was my guess as well
im gunna try to run this on my pc and see if anything changes
i hope not since i barely use my pc now but oh well
works on mine
yeah ur on windows
right
you could also try changing the line color
do setOutline("red") before making the line
hmm
its working on my p
pc
this is annoying
do you know why this might be happening
no its probably just the way tkinter interacts with mac
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.