parameters: (self, is_shown)
docstring: Change the widget icon between shown and hidden
          :param is_shown: True if plot is shown, false if hidden
docstring_summary: Change the widget icon between shown and hidden
          :param is_shown: True if plot is shown, false if hidden
docstring_tokens: Change the widget icon between shown and hidden : param is_shown : True if plot is shown false if hidden
function: def set_visibility_icon(self, is_shown):
          """
          Change the widget icon between shown and hidden
          :param is_shown: True if plot is shown, false if hidden
          """
          if is_shown:
              self.hide_button.setIcon(get_icon('mdi.eye'))
              self.hide_button.setToolTip('Hide')
          else:
              self.hide_button.setIcon(get_icon('mdi.eye', 'lightgrey'))
              self.hide_button.setToolTip('Show')
function_tokens: def set_visibility_icon ( self , is_shown ) : if is_shown : self . hide_button . setIcon ( get_icon ( 'mdi.eye' ) ) self . hide_button . setToolTip ( 'Hide' ) else : self . hide_button . setIcon ( get_icon ( 'mdi.eye' , 'lightgrey' ) ) self . hide_button . setToolTip ( 'Show' )