code: def show_pred(
      pred: Prediction,
      denormalize_fn: Optional[callable] = denormalize_imagenet,
      display_label: bool = True,
      display_bbox: bool = True,
      display_mask: bool = True,
      show: bool = True,
      ax: plt.Axes = None,
      figsize=None,
      annotation=None,
      font_size=13,
      **draw_sample_kwargs,
  ) -> None:
      actual = draw_sample(
          sample=pred.ground_truth,
          display_label=display_label,
          display_bbox=display_bbox,
          display_mask=display_mask,
          denormalize_fn=denormalize_fn,
          font_size=font_size,
          **draw_sample_kwargs,
      )
  
      prediction = draw_pred(
          pred=pred,
          denormalize_fn=denormalize_fn,
          display_label=display_label,
          display_bbox=display_bbox,
          display_mask=display_mask,
          font_size=font_size,
          **draw_sample_kwargs,
      )
  
      if ax is None:
          fig, ax = plt.subplots(1, 2, figsize=figsize)
  
      ax[0].imshow(actual, cmap=None)
      ax[0].set_title("Ground truth")
      ax[1].imshow(prediction, cmap=None)
      ax[1].set_title("Prediction")
  
      if annotation is None:
          ax[0].set_axis_off()
          ax[1].set_axis_off()
      else:
          ax[0].get_xaxis().set_ticks([])
          ax[0].set_frame_on(False)
          ax[0].get_yaxis().set_visible(False)
          ax[0].set_xlabel(annotation[0], ma="left")
  
          ax[1].get_xaxis().set_ticks([])
          ax[1].set_frame_on(False)
          ax[1].get_yaxis().set_visible(False)
          ax[1].set_xlabel(annotation[1], ma="left")
  
      if show:
          plt.show()
  
file_path: icevision/icevision/visualize/show_data.py
imports: from icevision.imports import *
  from icevision.utils import *
  from icevision.core import *
  from icevision.parsers import *
  from icevision.data import *
  from icevision.visualize.draw_data import *
label_desc: Use image node_id 3 for calling a global function with example usage: show_pred(pred, denormalize_fn, display_label, display_bbox, display_mask, show, ax, figsize, annotation, font_size) without return types