I\'m using a canvas to display images with matplotlib within tkinter GUI. The images size is variable so I need the axes adjusts its dimensions. As you can see in the image,