matplotlib-0.86 usetex

The 0.86.1 release had some usetex related issues updated. Please try
it and let us know if the issue is still there.

···

On 1/12/06, Steve Schmerler <elcorto@...361...> wrote:

Hi

I discoverd some problems while playing with my fresh installed 0.86
(much faster then 0.82 ... great work!):

rcParams['text.usetex']=False;plot([1,2,3]); xlabel("x-axis");
ylabel("y-label"); savefig("image.eps")

produces the expected result (nice bounding box etc.) but using
usetex=True

rcParams['text.usetex']=True; plot([1,2,3]); xlabel("x-axis");
ylabel("y-label"); savefig("image.eps")

results in an .eps where the axes tick numbering and the labels are
missing (bad bounding box when viewing it with gv). Saving it as .ps

rcParams['text.usetex']=True; plot([1,2,3]); xlabel("x-axis");
ylabel("y-label"); savefig("image.ps")

produces a .ps file whose BB is much bigger then it should be (looks
like A4).

Charlie Moad wrote:

Hi

I discoverd some problems while playing with my fresh installed 0.86
(much faster then 0.82 ... great work!):

rcParams['text.usetex']=False;plot([1,2,3]); xlabel("x-axis");
ylabel("y-label"); savefig("image.eps")

produces the expected result (nice bounding box etc.) but using
usetex=True

rcParams['text.usetex']=True; plot([1,2,3]); xlabel("x-axis");
ylabel("y-label"); savefig("image.eps")

results in an .eps where the axes tick numbering and the labels are
missing (bad bounding box when viewing it with gv). Saving it as .ps

rcParams['text.usetex']=True; plot([1,2,3]); xlabel("x-axis");
ylabel("y-label"); savefig("image.ps")

produces a .ps file whose BB is much bigger then it should be (looks
like A4).

The 0.86.1 release had some usetex related issues updated. Please try
it and let us know if the issue is still there.

The BB problems remain plus:

1) the axes labels aren't centered (xlabel on the left side of the
x-axis, ylabel on the bottom of the y-axis)

2) somtimes I got

In [2]: rcParams['text.usetex']=True; plot([1,2,3]); xlabel("x-axis");
ylabel("y-label"); savefig("image.eps")
Out[2]: [<matplotlib.lines.Line2D instance at 0xb541912c>]
Out[2]: <matplotlib.text.Text instance at 0xb54108ec>
Out[2]: <matplotlib.text.Text instance at 0xb541646c>

(ipython:8099): Pango-WARNING **: Invalid UTF-8 string passed to
pango_layout_set_text()

with a crashing plot window, sometimes the call gave no erros, the plot
appeared.

cheers,
steve

···

On 1/12/06, Steve Schmerler <elcorto@...361...> wrote:

--
"People like Blood Sausage too. People are Morons!" -- Phil Connors,
Groundhog Day