class_docstr: Provides a custom type, color, etc.. for a column.
  
  :ivar type: See :attr:`hiplot.ValueType` for possible values
  :ivar colors: Categorical scales only: mapping from value to HTML color (either :code:`rgb(R, G, B)` or :code:`#RRGGBB`)
  :ivar colormap: Numerical scales only: `D3 scale <https://github.com/d3/d3-scale-chromatic>`_ to use
      (default scale is `interpolateTurbo <https://github.com/d3/d3-scale-chromatic#interpolateTurbo>`_).
      For example :code:`"interpolateSinebow"`.
      To inverse the colormap, append `#inverse` to the name (eg :code:`"interpolateSinebow#inverse"`)
  :ivar label_css: Space-separated bootstrap CSS classes to apply on the label when supported
  :ivar label_html: HTML code used to render the column name
  
  See :attr:`hiplot.Experiment.parameters_definition`
code: def __init__(
      self,
      value_type: tp.Optional[ValueType] = None,
      colors: tp.Optional[tp.Dict[tp.Any, str]] = None,
      colormap: tp.Optional[str] = None,
      label_css: tp.Optional[str] = None,
  ) -> None:
      self.type = value_type
      self.colors = colors
      self.colormap = colormap
      self.label_css = label_css
      self.force_value_min: tp.Optional[float] = None
      self.force_value_max: tp.Optional[float] = None
      self.label_html: tp.Optional[str] = None
  
imports: import csv
  import uuid
  import json
  import codecs
  import warnings
  from abc import ABCMeta, abstractmethod
  from enum import Enum
  from collections import defaultdict
  from pathlib import Path
  import typing
label_desc: Use image node_id 1 to create a new ValueDef object from inherited base classes: _DictSerializable with example: obj = ValueDef(value_type, colors, colormap, label_css)