I am making an application using Tkinter and I am facing some problem. This is a simple code in which I want to remove white border outside Blue Canvas.
from tkinter import *
root = Tk()
root.config(bg='black')
root.geometry('500x500')
Canvas(root, bg='blue', bd=0).pack(pady=100)
root.mainloop()
Here, I have tried bd=0 to make border size 0. But it is not working.