From: <as...@us...> - 2009-05-19 21:29:25
|
Revision: 7122 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7122&view=rev Author: astraw Date: 2009-05-19 21:29:19 +0000 (Tue, 19 May 2009) Log Message: ----------- convert Axis.grid() docstrings to use complete sentences Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/axis.py Modified: trunk/matplotlib/lib/matplotlib/axis.py =================================================================== --- trunk/matplotlib/lib/matplotlib/axis.py 2009-05-18 20:50:20 UTC (rev 7121) +++ trunk/matplotlib/lib/matplotlib/axis.py 2009-05-19 21:29:19 UTC (rev 7122) @@ -934,12 +934,12 @@ def grid(self, b=None, which='major', **kwargs): """ - Set the axis grid on or off; b is a boolean use *which* = - 'major' | 'minor' to set the grid for major or minor ticks + Set the axis grid on or off; b is a boolean. Use *which* = + 'major' | 'minor' to set the grid for major or minor ticks. - if *b* is *None* and len(kwargs)==0, toggle the grid state. If + If *b* is *None* and len(kwargs)==0, toggle the grid state. If *kwargs* are supplied, it is assumed you want the grid on and *b* - will be set to True + will be set to True. *kwargs* are used to set the line properties of the grids, eg, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |