code: def get_matplotlib_cm(function_name):
      try:
          from matplotlib import cm
  
          return cm
      except ImportError:
          print(
              "matplotlib library is required for 3D plots for function {0}".format(
                  function_name
              )
          )
          return None
  
label_desc: Use image node_id 3 for calling a global function with example usage: get_matplotlib_cm(function_name) and returns: cm, None