python - Remove the outline of an oval in Tkinter? -
by default, circle draw on canvas has black outline. i'm trying not use color, somehow make outline disappear.
import tkinter class draw: def __init__(self): self._root_window = tkinter.tk() self._canvas = tkinter.canvas(master = self._root_window, width = 500, height = 500, background = '#1e824c') self._canvas.pack() self._canvas.create_oval(100,100,250,250, fill = 'white') self._root_window.mainloop if __name__ == '__main__': draw()
add outline=""
parameter create_oval
method.
then can create oval link that:
self._canvas.create_oval(100,100,250,250, fill = 'white', outline="")