code: def _help(figure):
      d = _get_params()
      figure = figure.lower()
      if figure in d["figures"]:
          fig = {}
          fig["description"] = d["figures"][figure].get(
              "description", ""
          )
          fig["examples"] = d["figures"][figure].get("examples", "")
          fig["parameters"] = {
              figure: {"params": {}},
              "all": {"params": {}},
          }
          for k, v in d["parameters"].items():
              for _ in [figure, "all"]:
                  if _ in v["applies"]:
                      param = {}
                      if figure in v["exceptions"]:
                          if v["exceptions"][figure]:
                              param["description"] = v["exceptions"][
                                  figure
                              ]
                          else:
                              break
                      else:
                          param["description"] = v["description"]
                      param["type"] = v.get("type", "")
                      param["position"] = v.get("position", "")
                      if "group" in v:
                          if v["group"] not in fig["parameters"][_]:
                              fig["parameters"][_][v["group"]] = {}
                          fig["parameters"][_][v["group"]][k] = param
                      else:
                          fig["parameters"][_]["params"][k] = param
          return fig
      else:
          raise Exception(
              "Figure {0} was not found".format(figure.upper())
          )
  
imports: import json
  import os
  from .None import utils
label_desc: Use image node_id 2 for calling a global function with example usage: _help(figure) and returns: fig