Maybe you need to call fig.canvas.draw() to get the figura actually resized.
2011/8/12, Benjamin Root <ben.r...@ou.edu>: > On Fri, Aug 12, 2011 at 10:04 AM, David Just <just.da...@mayo.edu> wrote: > >> Now that I’m pre-building all my enlarged interpolated images to scroll >> through, I’m having trouble forcing the figure/FigureCanvas to be the >> size >> I want. >> >> I’m trying: >> fig.set_size_inches(768 / 72.0, 768 / 72.0), but it ends up the same size >> as the default plot. >> >> Thanks, >> Dave >> >> >> > Dave, > > Don't know if that is a bug or not (never tried that function). Typically, > I just use the figsize kwarg in the figure constructor. Is it possible to > do it from there, or are you looking to adjust the figure size *after* the > figure has been displayed already? > > Ben Root > ------------------------------------------------------------------------------ FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users