class_docstr: Track the colors for various types, the transparency range, and bit precisions.
  By default, green indicates floating-point, blue indicates integer, and orange
  indicates complex numbers. The more saturated the color (lower transparency),
  the higher the precision.
class_docstr_tok: ["Track","the","colors","for","various","types",",","the","transparency","range",",","and","bit","precisions",".","By","default",",","green","indicates","floating-point",",","blue","indicates","integer",",","and","orange","indicates","complex","numbers",".","The","more","saturated","the","color","(","lower","transparency",")",",","the","higher","the","precision","."]
code: def __init__(
      self,
      dtype_colors=None,
      dtype_precisions=None,
      dtype_alpha_range=None,
  ):
      if dtype_colors is None:
          dtype_colors = DTypeColorInfo.default_dtype_colors
      if dtype_precisions is None:
          dtype_precisions = DTypeColorInfo.default_dtype_precisions
      if dtype_alpha_range is None:
          dtype_alpha_range = DTypeColorInfo.default_dtype_alpha_range
  
      if not isinstance(dtype_colors, dict) or (
          len(dtype_colors) > 0
          and not isinstance(list(dtype_colors.values())[0], str)
      ):
          raise TypeError(
              "dtype_colors should be a dict mapping type name to color name or color hex RGB values."
          )
  
      (
          self.dtype_colors,
          self.dtype_precisions,
          self.dtype_alpha_range,
      ) = (dtype_colors, dtype_precisions, dtype_alpha_range)
  
imports: import sys
  import os
  from pathlib import Path
  import tempfile
  import graphviz
  import graphviz.backend
  import token
  import matplotlib.patches
  import matplotlib.pyplot
  import matplotlib.colors
  from IPython.display import display, SVG
  from IPython import get_ipython
  import numpy
  import tsensor
  import tsensor.ast
  import tsensor.analysis
  import tsensor.parsing
label_desc: Use image node_id 1 to create a new DTypeColorInfo object  with example: obj = DTypeColorInfo(dtype_colors, dtype_precisions, dtype_alpha_range)