From f202d5ab8b635698c972c0730ee86f7311b36463 Mon Sep 17 00:00:00 2001 From: Luke Campagnola Date: Mon, 28 Apr 2014 08:19:53 -0400 Subject: [PATCH] Update AxisItem.setGrid docstring --- pyqtgraph/graphicsItems/AxisItem.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyqtgraph/graphicsItems/AxisItem.py b/pyqtgraph/graphicsItems/AxisItem.py index 95093251..af393fdc 100644 --- a/pyqtgraph/graphicsItems/AxisItem.py +++ b/pyqtgraph/graphicsItems/AxisItem.py @@ -161,7 +161,11 @@ class AxisItem(GraphicsWidget): self.scene().removeItem(self) def setGrid(self, grid): - """Set the alpha value for the grid, or False to disable.""" + """Set the alpha value (0-255) for the grid, or False to disable. + + When grid lines are enabled, the axis tick lines are extended to cover + the extent of the linked ViewBox, if any. + """ self.grid = grid self.picture = None self.prepareGeometryChange()