Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Benjamin Jakimow
EO Time Series Viewer
Commits
f202d5ab
Commit
f202d5ab
authored
Apr 28, 2014
by
Luke Campagnola
Browse files
Update AxisItem.setGrid docstring
parent
c6f2e9c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
pyqtgraph/graphicsItems/AxisItem.py
View file @
f202d5ab
...
...
@@ -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
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment