I\'m using python2 on Windows. When I run the followig code, I get a gap between the two canvas (see picture below), although there is no padding specified when I grid them. Is
You need to set highlightthickness
to zero as well.
self.c1 = tk.Canvas(..., highlightthickness=0)
From the canvas page of effbot highlightthickness
explained as:
The width of the highlight border. The default is system specific (usually one or two pixels). (highlightThickness/HighlightThickness)