(self)
Show or hide the grid
Show or hide the grid
Show or hide the grid
def update_grid_visibility(self):
        """Show or hide the grid"""
        self.plot_widget.showGrid(x=self.show_grid, y=self.show_grid)
def update_grid_visibility ( self ) : self . plot_widget . showGrid ( x = self . show_grid , y = self . show_grid )