From: Benjamin R. <ben...@ou...> - 2014-11-22 21:31:06
|
I thought I had this understood, but now I am confused while working on my last chapter. I know that the Figure object never directly creates its own canvas object. It starts off with a None object as a placeholder and waits for one to be given to it. However, I can only find one place where the figure object's set_canvas() method is called, and that is in the canvas's print_figure() method to restore itself as the figure's canvas after temporaraily switching to another backend for saving. I thought that the FigureManager initializes the primary canvas object, but that doesn't seem to be the case. Where is it done? Cheers! Ben Root |