I recently re-installed matplotlib (0.99) on my vista machine and my code that worked yesterday (no changes) no longer runs because of the following matplotlib error:

  File "C:\Python25\Lib\site-packages\matplotlib\lines.py", line 286, in contains
    path, affine = self._transformed_path.get_transformed_path_and_affine()
AttributeError: 'NoneType' object has no attribute 'get_transformed_path_and_affine'

All I am doing is initially drawing a line2D (which works) and then testing if line2D.contains(event)==True if I mouse over the line.  As I said this worked fine yesterday.

I tried re-installing with an older version but to no avail.  I am totally clueless as to why this is happening.  Anyone have a guess.