code: def toggle_grid(self, event=None, show=None):
          "toggle grid on top/bottom panels"
          if show is None:
              show = not self.panel.conf.show_grid
          for p in (self.panel, self.panel_bot):
              p.conf.enable_grid(showf toggle_grid(self, event=None, show=None):
          "toggle grid on top/bottom panels"
          if show is None:
              show = not self.panel.conf.show_grid
          for p in (self.panel, self.panel_bot):
              p.conf.enable_grid(show)
docs: toggle grid on top/bottom panels