class_docstr: Numeric Field Distribution
class_docstr_tok: ["Numeric","Field","Distribution"]
docstr: add information of field value distribution for numerical type to the report.
  Details see analyzers inside `xai.data_explorer.numerical_analyzer`
  
  Args:
      field_name (str): data field name
      field_distribution (:dict of :NumericalStats):
          -key: label_name
          -value: NumericalStats
  
      force_no_log (bool): whether to change y-scale to logrithmic
                                         scale for a more balanced view
      x_limit (list:): whether x-axis only display the required percentile range.
                      If True, field_distribution should have a key "x_limit"
                      and value of [x_min, x_max].
      colors (list): the list of color code for rendering different class
      notes (str, Optional): explain the block
code: def __init__(
      self,
      field_name: str,
      field_distribution: Dict[str, explorer.NumericalStats],
      force_no_log=False,
      x_limit=False,
      colors=None,
      notes=None,
  ) -> None:
      """
      add information of field value distribution for numerical type to the report.
      Details see analyzers inside `xai.data_explorer.numerical_analyzer`
  
      Args:
          field_name (str): data field name
          field_distribution (:dict of :NumericalStats):
              -key: label_name
              -value: NumericalStats
  
          force_no_log (bool): whether to change y-scale to logrithmic
                                             scale for a more balanced view
          x_limit (list:): whether x-axis only display the required percentile range.
                          If True, field_distribution should have a key "x_limit"
                          and value of [x_min, x_max].
          colors (list): the list of color code for rendering different class
          notes (str, Optional): explain the block
      """
      super(NumericFieldDistribution, self).__init__(
          field_name,
          field_distribution,
          force_no_log,
          x_limit,
          colors,
          notes,
      )
      self._field_name = field_name
      self._field_distribution = field_distribution
      self._force_no_log = force_no_log
      self._x_limit = x_limit
      self._colors = colors
      if not (notes is None):
          self._notes = notes
      else:
          self._notes = "Distribution for %s" % self.field_name
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from typing import Tuple, Dict
  from xai.data import explorer
  from xai.formatter.contents.base import Content
  from xai.formatter.writer.base import Writer
label_desc: Use image node_id 1 to create a new NumericFieldDistribution object from inherited base classes: Content with example: obj = NumericFieldDistribution(field_name, field_distribution, force_no_log, x_limit, colors, notes)