Commit 636795d3 authored by Luke Campagnola's avatar Luke Campagnola
Browse files

bugfix - PlotItem y-grid check works now

parent 2a412a3e
......@@ -471,7 +471,7 @@ class PlotItem(GraphicsWidget):
def updateGrid(self, *args):
alpha = self.ctrl.gridAlphaSlider.value()
x = alpha if self.ctrl.xGridCheck.isChecked() else False
y = alpha if self.ctrl.xGridCheck.isChecked() else False
y = alpha if self.ctrl.yGridCheck.isChecked() else False
self.getAxis('top').setGrid(x)
self.getAxis('bottom').setGrid(x)
self.getAxis('left').setGrid(y)
......
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