|
From: John H. <jdh...@ac...> - 2006-09-14 16:32:33
|
>>>>> "Volker" =3D=3D Volker Lorrmann <lor...@ph...> =
writes:
Volker> Hi guys, how can i tell matplotlib to only show the xgrid
Volker> (grid without y -lines ;) ) I=B4ve searched and googled a
Volker> lot. But i can=B4t find a solution.
You should be able to toggle the grid separately with
ax.xaxis.grid(True)
ax.yaxis.grid(False)
Note that the grid command takes optional kwargs to control the major
and minor tick gridding.
JDH
|