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.
Date: Thu, 24 Nov 2005 22:16:48 -0600
From: Alan Jackson <ajackson@...894...>
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'