Hi, almost every time I create a somewhat more complex figure I have to fight with the not too smart positioning of the plots and the size of margins around the axes. From many postings here I have learned that this is the absolute intention, i.e. it is broken by design unless the programmer takes care about this.
I have to admin that I do not really get this idea. I am aware that the defaults will not change anytime soon and so I'd like to ask for an "idiot-proof" mode: this could be enabled by an rcParam and take care of proper dimensions, scale axis labels, titles, margins etc so that they don't cover. Here's an example for a matplotlib script which is a simple as it can get and demonstrates the broken layout which a user gets by default. import scipy import pylab x = scipy.linspace(-50,50, 100) y1 = scipy.rand(100) y2 = scipy.sin(x) y3 = y1 + y2 fig = pylab.figure() ax1 = fig.add_subplot(311) ax2 = fig.add_subplot(312) ax3 = fig.add_subplot(313) ax1.plot(x, y1) ax2.plot(x, y2) ax3.plot(x, y3) ax1.set_title('some title') ax2.set_title('some title') ax3.set_title('some title') pylab.show() Of course, one can adjust the figsize but the results are still far from being adorable. The spacing around the sublplots increases for no apparent reason while the spacing between the subplot remains the same so that everything looks cramped... Thank you many times in advance, best regards, Daniel ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users