From: <md...@us...> - 2007-11-13 16:08:34
|
Revision: 4247 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4247&view=rev Author: mdboom Date: 2007-11-13 08:08:33 -0800 (Tue, 13 Nov 2007) Log Message: ----------- Bugfix for polar plots. Modified Paths: -------------- branches/transforms/lib/matplotlib/projections/polar.py Modified: branches/transforms/lib/matplotlib/projections/polar.py =================================================================== --- branches/transforms/lib/matplotlib/projections/polar.py 2007-11-13 16:08:24 UTC (rev 4246) +++ branches/transforms/lib/matplotlib/projections/polar.py 2007-11-13 16:08:33 UTC (rev 4247) @@ -357,8 +357,9 @@ set_rgrids.__doc__ = cbook.dedent(set_rgrids.__doc__) % kwdocd - def set_xscale(self, *args, **kwargs): - raise NotImplementedError("You can not set the xscale on a polar plot.") + def set_xscale(self, scale, *args, **kwargs): + if scale != 'linear': + raise NotImplementedError("You can not set the xscale on a polar plot.") def set_xlim(self, *args, **kargs): # The xlim is fixed, no matter what you do This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |