From: <jd...@us...> - 2009-07-31 13:42:33
|
Revision: 7314 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7314&view=rev Author: jdh2358 Date: 2009-07-31 13:28:27 +0000 (Fri, 31 Jul 2009) Log Message: ----------- fixed pyplot typo in gridlines Modified Paths: -------------- trunk/matplotlib/examples/tests/backend_driver.py trunk/matplotlib/lib/matplotlib/pyplot.py Modified: trunk/matplotlib/examples/tests/backend_driver.py =================================================================== --- trunk/matplotlib/examples/tests/backend_driver.py 2009-07-31 13:15:16 UTC (rev 7313) +++ trunk/matplotlib/examples/tests/backend_driver.py 2009-07-31 13:28:27 UTC (rev 7314) @@ -392,7 +392,8 @@ doc = __doc__.split('\n\n') op = OptionParser(description=doc[0].strip(), usage='%prog [options] [--] [backends and switches]', - epilog='\n'.join(doc[1:])) + #epilog='\n'.join(doc[1:]) # epilog not supported on my python2.4 machine: JDH + ) op.disable_interspersed_args() op.set_defaults(dirs='pylab,api,units,mplot3d', clean=False, coverage=False, valgrind=False) Modified: trunk/matplotlib/lib/matplotlib/pyplot.py =================================================================== --- trunk/matplotlib/lib/matplotlib/pyplot.py 2009-07-31 13:15:16 UTC (rev 7313) +++ trunk/matplotlib/lib/matplotlib/pyplot.py 2009-07-31 13:28:27 UTC (rev 7314) @@ -1102,7 +1102,7 @@ if not isinstance(ax, PolarAxes): raise RuntimeError('rgrids only defined for polar axes') if len(args)==0: - lines = ax.yaxis.gridlines() + lines = ax.yaxis.get_gridlines() labels = ax.yaxis.get_ticklabels() else: lines, labels = ax.set_rgrids(*args, **kwargs) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |