class_docstr: DataSet Distribution
class_docstr_tok: ["DataSet","Distribution"]
docstr: add information of distribution on data set to the report
  
  Args:
      dataset_distribution (tuple: (str,dict)):
          - tuple[0] str: label/split name
          - tuple[1] CategoricalStats object: `frequency_count` attribute
                           key - class_name/split_name,
                           value - class_count/split_count
      max_class_shown (int, Optional): maximum number of classes shown
      in the figure, default is 20
      notes (str, Optional):
          explain the block
code: def __init__(
      self,
      dataset_distribution: Tuple[str, explorer.CategoricalStats],
      max_class_shown=20,
      notes=None,
  ) -> None:
      """
      add information of distribution on data set to the report
  
      Args:
          dataset_distribution (tuple: (str,dict)):
              - tuple[0] str: label/split name
              - tuple[1] CategoricalStats object: `frequency_count` attribute
                               key - class_name/split_name,
                               value - class_count/split_count
          max_class_shown (int, Optional): maximum number of classes shown
          in the figure, default is 20
          notes (str, Optional):
              explain the block
      """
      super(DataSetDistribution, self).__init__(
          dataset_distribution, max_class_shown, notes
      )
      self._dataset_distribution = dataset_distribution
      self._max_class_shown = max_class_shown
      if not (notes is None):
          self._notes = notes
      else:
          self._notes = "This section shows the distribution of dataset on the label/split."
  
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 DataSetDistribution object from inherited base classes: Content with example: obj = DataSetDistribution(dataset_distribution, max_class_shown, notes)