Hi,

One annoyance with the TkAgg plotwindow is that it doesn't show the full plotarea. Comparing the plot result saved to png in visible-area-tk.png to the screen shot of the tkagg window in visible-area-tk-window.png you can see that there is a grey border covering some of the area at the edges.

/Jörgen

<<inline: visible-area-tk.png>>

import pylab,numpy

from numpy import array,arange,pi,cos,sin
from pylab import rcParams


rcParams["figure.subplot.bottom"]=0
rcParams["figure.subplot.top"]=1
rcParams["figure.subplot.left"]=0
rcParams["figure.subplot.right"]=1
pylab.close("all")

x=arange(0,2*pi,0.1)
pylab.plot(x,sin(x))

pylab.savefig("visible-area-tk.png")
pylab.savefig("visible-area-tk.pdf",dpi=72)

<<inline: visible-area-tk-window.png>>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to