John Hunter wrote:
> On 8/1/07, william ratcliff <[EMAIL PROTECTED]> wrote:
>   
>>     from matplotlib.mathtext import math_parse_s_ft2font
>>   File
>> "c:\python25\Lib\site-packages\matplotlib\mathtext.py",
>> line 1182, in <mo
>> dule>
>>     class Vlist(List):
>>   File
>> "c:\python25\Lib\site-packages\matplotlib\mathtext.py",
>> line 1189, in Vli
>> st
>>     def vpack(self, h=0., m='additional', l=float('inf')):
>> ValueError: invalid literal for float(): inf
>>     
>
> It's not clear to me why you should be hitting mathtext at all, since
> the wxcursor_demo.py does not use it, as far as I can tell.  Michael,
> would any of your earlier work caused him to get into mathtext
> inapproriately?  
The call to "float('inf')", since it's in a default argument spec, will 
get called at import time.  Most (maybe all) of the backends import 
mathtext unconditionally, so this will get run whether mathtext is 
used/called or not.

I'm not opposed to importing mathtext on demand only, but that would be new.

Cheers,
Mike

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to