Return of the mystery error.

--- Urspr�ngliche Nachricht ---
Von: John Hunter <jdhunter@...4...>
An: Brandon King <kingb@...256...>
Kopie: matplotlib-users@lists.sourceforge.net
Betreff: Re: [Matplotlib-users] Return of the mystery error.
Datum: Tue, 26 Jul 2005 21:10:45 -0500

    > Hi John, Thanks again for the quick responce. Sorry about
    > not doing the simple test earlier. I installed the latest
    > version this time and used the script you suggested (.py
    > file is attached). Here's the output:

OK, damn, this is indeed the mystery error. It has reared its ugly
head on various (three, as far as I can see) win32 machines and not
others and noone has figured out why. Unfortunately, I can't
reproduce it and don't know how to fix it. Please post as much
information about your system (exact OS, which service pack,
motherboard/cpu, where you got python from, etc) as possible because
it may be helpful down the road.

I think you may be failing in the font load section. Could you rerun
your test script one more time with --verbose-debug and report that in
addition to the information above?

Thanks,
JDH

This is not a mystery error. This error pops up on some bad fonts
when the FontManager creates the dictionary of TTF based fonts.
An example is the CSD Font that installs with jgrasp (jgrasp.org).
BTW: As the bakoma fonts are free now, is this ttf cache needed
by default anymore? The CTAN bakoma.zip includes now 140 TTF fonts.

Regards

Carl

···

--
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl

Hi

I run into problems using axhline() (mpl 0.81) when setting the 'xmin'
and 'xmax' keywords. The horizontal line to be drawn doesn't show up or
just a part of it. What's up (see attached script and .eps files)?

cheers,
steve

axhline_test.tar.bz2 (70.6 KB)

Hi

I run into problems using axhline() (mpl 0.81) when setting the 'xmin'
and 'xmax' keywords. The horizontal line to be drawn doesn't show up or
just a part of it. What's up (see attached script and .eps files)?

cheers,
steve

axhline_test.tar.bz2 (70.6 KB)

Hello Steve,

Steve Schmerler schrieb:

Hi

I run into problems using axhline() (mpl 0.81) when setting the 'xmin'
and 'xmax' keywords. The horizontal line to be drawn doesn't show up or
just a part of it. What's up (see attached script and .eps files)?

you misunderstood the meaning of the 'xmin' and 'xmax' keyword arguments. If you look at the documtation for axhline, you will see that a value of 0.0 refers to the left side of the figure (well, actually the axes), and 1.0 refers to the very right. So the default setting xmin=0, xmax=1 will draw a horizontal line from the very left to the very right.

With this information, your other three examples should be clear.

Best regards,

Niklas.

You are right, thanks :slight_smile:

N. Volbers wrote:

···

Hello Steve,

Steve Schmerler schrieb:

Hi

I run into problems using axhline() (mpl 0.81) when setting the 'xmin'
and 'xmax' keywords. The horizontal line to be drawn doesn't show up or
just a part of it. What's up (see attached script and .eps files)?

you misunderstood the meaning of the 'xmin' and 'xmax' keyword arguments. If you look at the documtation for axhline, you will see that a value of 0.0 refers to the left side of the figure (well, actually the axes), and 1.0 refers to the very right. So the default setting xmin=0, xmax=1 will draw a horizontal line from the very left to the very right.
With this information, your other three examples should be clear.

Best regards,

Niklas.

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users