On Aug 20, 2012, at 8:56 PM, osman buyukisik wrote:

> ~/SRC/FiPy-3.0/examples/phase$ python polyxtalCoupled.py
> Traceback (most recent call last):
>   File "polyxtalCoupled.py", line 374, in <module>
>     exec(fipy.tests.doctestPlus._getScript())
>   File "<string>", line 291, in <module>
>   File "<string>", line 234, in __init__
> AttributeError: 'PolarAxes' object has no attribute 
> 'set_theta_zero_location'
> 
> Also:
> ~/SRC/FiPy-3.0/examples/phase$ python polyxtal.py
> Traceback (most recent call last):
>   File "polyxtal.py", line 373, in <module>
>     exec(fipy.tests.doctestPlus._getScript())
>   File "<string>", line 290, in <module>
>   File "<string>", line 233, in __init__
> AttributeError: 'PolarAxes' object has no attribute 
> 'set_theta_zero_location'

github says that feature was merged into matplotlib about a year ago. What 
version do you have?

  python -c "import matplotlib; print matplotlib.__version__"

Assuming your matplotlib is old, and if you don't want to updated it for some 
reason, you should be able to just comment out the line

  ...                 self.gnomon.set_theta_zero_location("N")

in those two scripts.


_______________________________________________
fipy mailing list
fipy@nist.gov
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to