From: Tony Yu <ts...@gm...> - 2009-07-30 15:02:00
|
Sorry for reposting, but the original may have been overlooked since it was buried deep in a matplotlib-users thread. Currently, `pyplot.rgrids` is returning tick lines instead of grid lines. My guess is that this is a typo, but there may be a compelling reason to return the tick lines. If it is a typo, here's a patch: Index: lib/matplotlib/projections/polar.py =================================================================== --- lib/matplotlib/projections/polar.py (revision 7300) +++ lib/matplotlib/projections/polar.py (working copy) @@ -397,7 +397,7 @@ self._r_label2_position.clear().translate(angle, -self._rpad * rmax) for t in self.yaxis.get_ticklabels(): t.update(kwargs) - return self.yaxis.get_ticklines(), self.yaxis.get_ticklabels() + return self.yaxis.get_gridlines(), self.yaxis.get_ticklabels() set_rgrids.__doc__ = cbook.dedent(set_rgrids.__doc__) % kwdocd |