title: How to place a pie chart based on data frame in Tkinter frame?
body: <p>I'm trying to place a pie chart inside the Tkinter frame with an absolute positioning.
  How do I place the pie at the upper left side of the frame?</p>
  <p><a href="https://i.stack.imgur.com/EEQ75.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EEQ75.jpg" alt="enter image description here" /></a></p>
  <p><strong>So far I tried:</strong></p>
  <pre><code>from tkinter import *
  from PIL import Image, ImageTk
  import datetime as dt
  import time
  from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg
  from matplotlib.figure import Figure
  import matplotlib.pyplot as plt
  
  
  class Dashboard:
  
      def __init__(self, filterdDf):
  
          self.filterdDf = filterdDf
  
          root =Tk()
          root.title('Dashboard')
          root.geometry('1300x1000')
          root.resizable(False, False)
  
          frame = Frame(root, width=1000, height=680)
          frame.configure(background=&quot;gray28&quot;)
          frame.pack(fill=BOTH, expand=True)
  
          frameChartsLT = Frame(root)
          frameChartsLT.pack()
  
          fig = Figure()  # create a figure object
          ax = fig.add_subplot(111)  # add an Axes to the figure
  
          ax.pie(filterdDf[('Sum', '')], radius=1, shadow=True)
  
          chart1 = FigureCanvasTkAgg(fig, frameChartsLT)
          chart1.get_tk_widget().pack()
  
          root.mainloop()
  </code></pre>
  <p>Thanks!</p>