Re: [Matplotlib-users] completely filling a figure canvas
>> Is there a way to have subplots_adjust() automatically chose left, >> right, bottom, top values so that everything that's been drawn tightly >> fits the figure? > What about plt.tight_layout() ? > (or fig.tight_layout ) Yes, thanks, Pierre! Andreas. -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] completely filling a figure canvas
Hi Andreas, Le 14/02/2014 08:12, Andreas Hilboll a écrit : > Is there a way to have subplots_adjust() automatically chose left, > right, bottom, top values so that everything that's been drawn tightly > fits the figure? What about plt.tight_layout() ? (or fig.tight_layout ) best, Pierre <>-- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] completely filling a figure canvas
I need some help in saving effort to make a figure fill its canvas: Is there a way to have subplots_adjust() automatically chose left, right, bottom, top values so that everything that's been drawn tightly fits the figure? Basically I'm looking for something similar to bbox_inclues='tight' in savefig, except that I want the figure dimensions to stay the same and have the contents of the figure adjust to the figsize so that no space is wasted. Obviously, the hspace and wspace in subplots_adjust would still have to be choseable by the user. Any ideas? -- Andreas. -- Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users