code: def regression(
      fairness_metric, col_name, metrics, fairness_metric_name
  ):
      figures = []
      metric_name = fairness_metric.split("@")[1].upper()
  
      fig = plt.figure(figsize=(10, 7))
      ax1 = fig.add_subplot(1, 1, 1)
      bars = ax1.bar(metrics.index[1:], metrics[metric_name][1:])
  
      ax1.spines[["right", "top"]].set_visible(False)
      # ax1.yaxis.set_visible(False)
      ax1.set_ylabel(metric_name)
      _ = ax1.bar_label(bars, padding=5)
  
      figures += [
          {
              "title": f"{metric_name} for {col_name}",
              "fname": f"{metric_name}_{col_name}.png",
              "figure": fig,
          }
      ]
  
      return figures
  
imports: import numpy
  from matplotlib import pyplot
label_desc: Use image node_id 2 for calling the FairnessPlots obj's underlying member method code with example usage: obj.regression(fairness_metric, col_name, metrics, fairness_metric_name) and returns: figures