From: Sandro T. <mo...@de...> - 2009-02-28 01:02:48
|
Hi! I have this configuration file: $ cat matplotlibrc figure.figsize : 4, 3 figure.dpi : 300 savefig.dpi : 300 font.size : 9.0 and using this code import matplotlib.pyplot as plt plt.plot([1, 2, 3]) plt.xlabel('This is the X axis') plt.ylabel('This is the Y axis') plt.savefig('7900_02_06.png') I obtain the attached image that, as you can see, has xlabel tect cut. What is the best way to avoid it? reducing the actual "plot" area (axes and line)? or reducing the font size? Now that I look better at it, isn't it a bug after all? I see ylabel correctly rendered, and xlabel not (but it's late in the night, so I might be mistaken :) ) . Thanks in advance, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi |