to adjust the padding between the axis and the
> label.
>
> ax.xaxis.labelpad = 0
>
> Regards,
>
> -JJ
>
>
> On Mon, Mar 21, 2011 at 3:27 AM, andes wrote:
>> x = linspace(0,1,10)
>> y = x**2
>> plot(x, y)
&g
Andrew,
After you are done modifying your figure (either in your code or in the
GUI), run the following line:
savefig('example.png', bbox_inches='tight')
Does it save the figure the way you want?
Best,
carlo
--
View this message in context:
http://old.nabble.com/Changing-Image-Size-tp312784
Hello all,
I am trying to change the position of the xlabel/ylabel with respect to the
xaxis/yaxis. Particularly, I was trying to get the "xlabel" closer to the
"xaxis" and the "ylabel" closer to the "yaxis", for which I was using the
lines indicated with '#<---' in the following sample code:
e (or any other setting) not to use "round" style. In case you
> must use "round" style, I guess you'd better upgrade your ghostscript.
>
> Regards,
>
> -JJ
>
>
> On Mon, Dec 20, 2010 at 8:53 AM, andes wrote:
>>
>> Hello JJ,
>>
&
> -JJ
>
>
> On Thu, Dec 16, 2010 at 1:46 AM, andes wrote:
>>
>> hello,
>>
>> When I save as an "eps" a figure created by matplotlib I face the problem
>> that the inclined lines in the plot appear to be jagged when I open the
>> "eps&quo
hello,
When I save as an "eps" a figure created by matplotlib I face the problem
that the inclined lines in the plot appear to be jagged when I open the
"eps" (please see figure below). This problem doesn't appear when I save the
figure as a pdf or png. Do you you know if there is a simple soluti