I am trying to draw a simple line in Tkinter using a Canvas. I have this code so far:
from tkinter import *
from tkinter.ttk import *
rt = Tk()
rt.geometry('500x500')
head = Canvas(rt, width=500, height=100)
head.create_line(1, 99, 499, 99)
rt.mainloop()
When I run the program I only get a plain white screen. Why doesn't the line appear?