On 01/02/2011 05:40 PM, Tom K. wrote:
>
[...]
> FOURIER DEMO - PROBLEM AND FIX IN "lines.py"
> Next I tried my wx-based gui http://wiki.wxpython.org/MatplotlibFourierDemo.
> It raised assertions in lines.py, particularly the part where it tries to
> access
>          path, affine =
> self._transformed_path.get_transformed_path_and_affine()
> (line 286)
> since self._transformed_path is None.
> When I fixed that by inserting
>          if self._transformed_path is None:
>              self._transform_path()
> then it ran into problems with
>         ind += self.ind_offset
> since ind_offset didn't exist.
> I fixed that by adding
>          if hasattr(self, 'ind_offset'):
>
> Is modifying lines.py the only way to fix this, or should I do something
> else in the fourier demo?

I suspect this is a problem in 1.0 but not in svn or the new 1.0.1rc.  I 
can't reproduce it using very recent svn.

Eric

>
> Best regards, Happy New Year to all, etc,
>   - Tom K.
>


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to