From: Alan J. <aja...@op...> - 2005-11-25 16:05:32
|
Wasn't that simple... sigh. I'll keep looking. On Fri, 25 Nov 2005 10:17:57 +0100 "phi...@ho..." <phi...@ho...> wrote: > Hi Alan, > > You'll see Python exceptions are obvious enough. > > Here it looks like windows doesn't support the ".1". > Try 0.1 instead. > > Hope it will solve the problem. ;-) > Regards, > Philippe Collet > > >Message: 6 > >Date: Thu, 24 Nov 2005 22:16:48 -0600 > >From: Alan Jackson <aja...@op...> > >To: mat...@li... > >Subject: [Matplotlib-users] Incompatibility between Linux and XP > > > >I'm a new python user, basically trying to learn python using matplotlib > >for a little project. > > > >My code works fine on Linux, but it fails on Windows XP. I'm running > >the latest version of Matplotlib and SciPy python, 2.3.3. > > > >Before I go to a lot of effort to build a small demo program to show the > >failure, I thought I would ask to see of there are known incompatibilities > >between Linux and XP that might be causing my problem. > > > >The line of code that seems to precipitate the failure is : > > > >self.Cax_c = figtext(0.84, .1, '000') > > > >that gives an error on Windows XP of : > > > >.....matplotlib\text.py", line 665 in set_text > >TypeError: This doesn't look like a string: '0.0' > > > >Thanks! > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- ----------------------------------------------------------------------- | Alan K. Jackson | To see a World in a Grain of Sand | | al...@aj... | And a Heaven in a Wild Flower, | | www.ajackson.org | Hold Infinity in the palm of your hand | | Houston, Texas | And Eternity in an hour. - Blake | ----------------------------------------------------------------------- |