title: How to fix Tkinter canvas overlapping image?
body: <p>Hey guys i have a simple Chessboard made in python with Tkinter, i am trying to add images of pieces to the board at a specific row and column but the canvas keeps overlapping the image. Please help!</p>
  
  <p>Here is my board code:</p>
  
  <pre><code>    class GameBoard(tk.Frame):
  
      def __init__(self, parent, rows=8, columns=8, size=75, color1="white", 
      color2="lightgrey"):
      '''size is in pixels'''
  
          self.rows = rows
          self.columns = columns
          self.size = size
          self.color1 = color1
          self.color2 = color2
          self.pieces = {}
  
          canvas_width = columns * size
          canvas_height = rows * size
  
          tk.Frame.__init__(self, parent)
          self.canvas = tk.Canvas(self, borderwidth=0, highlightthickness=0,
                              width=canvas_width, height=canvas_height, background="white")
           self.canvas.pack(side="top", fill="both", expand=True, padx=2, pady=2)
  </code></pre>
  
  <p>And here is my image placing code, i have put the image placement at 600 by 600 just for testing purposes.</p>
  
  <pre><code> self.canvas.WhiteKnight = tk.PhotoImage(file = 'E:\\Final Project + 
         Report\\Pieces\\WhiteKnight.png')
   self.canvas.create_image(600,600, image = self.canvas.WhiteKnight, anchor = 'c')
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/ta1Cy.png" rel="nofollow noreferrer">Here you can see the image showing but being overlapped</a></p>
  
  <p>Any help would be much appreciated!</p>