Commit f202d5ab authored by Luke Campagnola's avatar Luke Campagnola
Browse files

Update AxisItem.setGrid docstring

parent c6f2e9c2
...@@ -161,7 +161,11 @@ class AxisItem(GraphicsWidget): ...@@ -161,7 +161,11 @@ class AxisItem(GraphicsWidget):
self.scene().removeItem(self) self.scene().removeItem(self)
def setGrid(self, grid): 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.grid = grid
self.picture = None self.picture = None
self.prepareGeometryChange() self.prepareGeometryChange()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment