Can you provide a standalone example that reproduces this error? Cheers, Mike
Andrew Kelly wrote: > 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. > > -Andrew > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users