I am trying to build a grid of frames in each matplotlib shape. When I resize the window, the shape remains with the patch size and does not resize to fit the empty space. Is there a way to make the figure resize to fit the canvas (hope it resizes with the window)?


This is how I embed in every frame:
self._figure = pyplot.figure(figsize=(4,4)) self._axes = self._figure.add_subplot(111) self._canvas = FigureCanvasTkAgg(self._figure, master=self._root) self._canvas.get_tk_widget().grid(row=1,column=1,rowspan = 4)
source share