code: def plot_heatmap(image, heatmap, kps, kps_weights):
      for kp_id in range(len(kps_weights)):
          if kps_weights[kp_id] > 0:
              plt.subplot(1, 2, 1)
              plt.imshow(image)
              plt.plot(*kps[kp_id].tolist(), "ro")
              plt.title("image")
              plt.subplot(1, 2, 2)
              plt.imshow(heatmap[kp_id], cmap=plt.cm.Blues)
              plt.colorbar(ticks=[0, 1])
              plt.title(f"kp_id: {kp_id}")
              plt.show()
  
imports: import math
  import random
  from typing import Tuple
  import cv2
  import numpy
  import torch
  from torchvision.transforms import functional
  import matplotlib.pyplot
label_desc: Use image node_id 10 for calling a global function with example usage: plot_heatmap(image, heatmap, kps, kps_weights) without return types