docstr: Get color for a class id.
  Args:
      class_id (int): class id.
docstr_tok: ["Get","color","for","a","class","id",".","Args",":","class_id","(","int",")",":","class","id","."]
code: def _get_color(self, class_id: int) -> List[float]:
      """
      Get color for a class id.
      Args:
          class_id (int): class id.
      """
      return self.color_map(class_id / self.num_classes)[:3]
  
imports: from __future__ import annotations
  import itertools
  import logging
  from types import SimpleNamespace
  from typing import Dict, List, Optional, Tuple, Union
  import matplotlib.pyplot
  import numpy
  import torch
  from detectron2.utils.visualizer import Visualizer
label_desc: Use image node_id 2 for calling the VideoVisualizer obj's underlying member method code with example usage: obj._get_color(class_id) and returns: self