code: def plot_iou_recall(recalls, iou_thrs):
      """Plot IoU-Recalls curve.
  
      Args:
          recalls(ndarray or list): shape (k,)
          iou_thrs(ndarray or list): same shape as `recalls`
      """
      if isinstance(iou_thrs, np.ndarray):
          _iou_thrs = iou_thrs.tolist()
      else:
          _iou_thrs = iou_thrs
      if isinstance(recalls, np.ndarray):
          _recalls = recalls.tolist()
      else:
          _recalls = recalls
  
      import matplotlib.pyplot as plt
  
      f = plt.figure()
      plt.plot(_iou_thrs + [1.0], _recalls + [0.0])
      plt.xlabel("IoU")
      plt.ylabel("Recall")
      plt.axis([iou_thrs.min(), 1, 0, 1])
      f.show()
  
file_path: mmdetection/mmdet/evaluation/functional/recall.py
imports: from collections.abc import Sequence
  import numpy
  from mmengine.logging import print_log
  from terminaltables import AsciiTable
  from .bbox_overlaps import bbox_overlaps
label_desc: Use image node_id 6 for calling a global function with example usage: plot_iou_recall(recalls, iou_thrs) without return types