code: def test_remove_params():
      class RetainVal:
          a = 1
  
      @InteractiveFunction
      def inner(a=4):
          RetainVal.a = a
  
      host = interact(inner, runOptions=RunOptions.ON_CHANGED)
      host["a"] = 5
      assert RetainVal.a == 5
  
      inner.removeParameters()
      host["a"] = 6
      assert RetainVal.a == 5
  
imports: from functools import wraps
  import numpy
  import pyqtgraph
  import pytest
  from pyqtgraph import functions
  from pyqtgraph.parametertree import InteractiveFunction, Interactor, interact, RunOptions
  from pyqtgraph.parametertree import Parameter
  from pyqtgraph.parametertree.Parameter import PARAM_TYPES
  from pyqtgraph.parametertree.parameterTypes import GroupParameter
  from pyqtgraph.Qt import QtGui
label_desc: Use image node_id 11 for calling a global function with example usage: test_remove_params() without return types