From 636795d3950379c3010c0f03c2d36993f325c32e Mon Sep 17 00:00:00 2001 From: Luke Campagnola <> Date: Sun, 22 Apr 2012 13:08:38 -0400 Subject: [PATCH] bugfix - PlotItem y-grid check works now --- graphicsItems/PlotItem/PlotItem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphicsItems/PlotItem/PlotItem.py b/graphicsItems/PlotItem/PlotItem.py index b566a8bf..cecd784e 100644 --- a/graphicsItems/PlotItem/PlotItem.py +++ b/graphicsItems/PlotItem/PlotItem.py @@ -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)