Looks like I need to read *all* of the docstrings. I wish there was  
an easy way to search them....


On Dec 15, 2006, at 2:49 AM, Eric Firing wrote:

> Simson Garfinkel wrote:
>> HI. I wand to have just horizontal grid lines. Is there any way to  
>> do  this? Thanks!
>
> gca().yaxis.grid(True)
> gca().xaxis.grid(False)
>
> Here is the grid method docstring:
>
>     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
>
>         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
>
>         kwargs are used to set the line properties of the grids, eg,
>
>           xax.grid(color='r', linestyle='-', linewidth=2)
>
>
> Eric
>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to