code: def setVisible(self, visible):
          
          logger.debug('%s visibility changed', self.name)
          super(Panel, self).setVisible(visible)
          if self.editor:
              self.editor.panels.refresh()
docs: Shows/Hides the panel.
  
          Automatically call PanelsManager.refresh_panels.
  
          :param visible: Visible state