How can I prevent a FigureCanvas from being resized?


In an embedded application, I want to have a number of FigureCanvas s inside a scrolled window. But the FigureCanvas s always resize to fit inside my main window. I’ve tried intercepting resize requests but nothing seems to work. Any ideas?