Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 858cab9

Browse files
committed
fixed pyplot typo in gridlines
svn path=/trunk/matplotlib/; revision=7314
1 parent b0eaa13 commit 858cab9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

examples/tests/backend_driver.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,8 @@ def parse_options():
392392
doc = __doc__.split('\n\n')
393393
op = OptionParser(description=doc[0].strip(),
394394
usage='%prog [options] [--] [backends and switches]',
395-
epilog='\n'.join(doc[1:]))
395+
#epilog='\n'.join(doc[1:]) # epilog not supported on my python2.4 machine: JDH
396+
)
396397
op.disable_interspersed_args()
397398
op.set_defaults(dirs='pylab,api,units,mplot3d',
398399
clean=False, coverage=False, valgrind=False)

lib/matplotlib/pyplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1102,7 +1102,7 @@ def rgrids(*args, **kwargs):
11021102
if not isinstance(ax, PolarAxes):
11031103
raise RuntimeError('rgrids only defined for polar axes')
11041104
if len(args)==0:
1105-
lines = ax.yaxis.gridlines()
1105+
lines = ax.yaxis.get_gridlines()
11061106
labels = ax.yaxis.get_ticklabels()
11071107
else:
11081108
lines, labels = ax.set_rgrids(*args, **kwargs)

0 commit comments

Comments
 (0)