code: def call_local_plugin_method(self, chname, plugin_name, method_name,
                                   args, kwargs):
          
          channel = self.get_channel(chname)
          opmon = channel.opmon
          p_obj = opmon.get_plugin(plugin_name)
          method = getattr(p_obj, method_name)
          return self.gui_call(method, *args, **kwargs)
docs: Parameters
          ----------
          chname : str
              The name of the channel containing the plugin.
  
          plugin_name : str
              The name of the local plugin containing the method to call.
  
          method_name : str
              The name of the method to call.
  
          args : list or tuple
              The positional arguments to the method
  
          kwargs : dict
              The keyword arguments to the method
  
          Returns
          -------
          result : return value from calling the method