``` @Slot(bool) def showGrid(self, grid): print('show grid') if grid: self.machine_actor.DrawXGridlinesOn() self.machine_actor.DrawYGridlinesOn() self.machine_actor.DrawZGridlinesOn() else: self.machine_actor.DrawXGridlinesOff() self.machine_actor.DrawYGridlinesOff() self.machine_actor.DrawZGridlinesOff() @Slot() def toggleProgramBounds(self): if len(self.path_actors) > 0: bounds = self.path_actors[1].GetXAxisVisibility() if bounds: self.path_actors[1].XAxisVisibilityOff() self.path_actors[1].YAxisVisibilityOff() self.path_actors[1].ZAxisVisibilityOff() else: self.path_actors[1].XAxisVisibilityOn() self.path_actors[1].YAxisVisibilityOn() self.path_actors[1].ZAxisVisibilityOn() self.update_render()