Sorry, I have done that change, and get these errors:

Traceback (most recent call last):
  File "test7.py", line 36, in <module>
    ax=fig.add_subplot(111, polar=True, resolution=1)
  File "/usr/lib/python2.5/site-packages/matplotlib/figure.py", line 676, in
add_subplot
    a = subplot_class_factory(projection_class)(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line 6823, in
__init__
    self._axes_class.__init__(self, fig, self.figbox, **kwargs)
  File "/usr/lib/python2.5/site-packages/matplotlib/projections/polar.py",
line 171, in __init__
    Axes.__init__(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line 537, in
__init__
    if len(kwargs): martist.setp(self, **kwargs)
  File "/usr/lib/python2.5/site-packages/matplotlib/artist.py", line 894, in
setp
    func = getattr(o,funcName)
AttributeError: 'PolarAxesSubplot' object has no attribute 'set_resolution'





Jouni K. Seppänen wrote:
> 
> Change this to
> 
>   ax=fig.add_subplot(111, polar=True, resolution=1)
> 
> and the resolution will get passed to the PolarAxes instance.
> 
> -- 
> Jouni K. Seppänen
> http://www.iki.fi/jks
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-plot-straight-lines-on-polar-plots-tp21721073p21742133.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to