class_docstr: This module plots histograms of all selected features for the last 'n' periods.
class_docstr_tok: ["This","module","plots","histograms","of","all","selected","features","for","the","last","'n","'","periods","."]
docstr: Initialize an instance of SectionGenerator.
  
  :param str read_key: key of input data to read from the datastore and use for plotting
  :param str store_key: key for output data to be stored in the datastore
  :param list features: list of features to pick up from input data (optional)
  :param list ignore_features: ignore list of features, if present (optional)
  :param list hist_names: list of histogram names to plot
  :param str hist_name_starts_with: find histograms in case hist_names is empty. default is histogram.
docstr_tok: ["Initialize","an","instance","of","SectionGenerator",".",":","param","str","read_key",":","key","of","input","data","to","read","from","the","datastore","and","use","for","plotting",":","param","str","store_key",":","key","for","output","data","to","be","stored","in","the","datastore",":","param","list","features",":","list","of","features","to","pick","up","from","input","data","(","optional",")",":","param","list","ignore_features",":","ignore","list","of","features",",","if","present","(","optional",")",":","param","list","hist_names",":","list","of","histogram","names","to","plot",":","param","str","hist_name_starts_with",":","find","histograms","in","case","hist_names","is","empty",".","default","is","histogram","."]
code: def __init__(
      self,
      read_key,
      store_key,
      reference_type: str,
      settings: HistogramSectionModel,
      features=None,
      ignore_features=None,
      hist_names=None,
      hist_name_starts_with: str = "histogram",
  ) -> None:
      """Initialize an instance of SectionGenerator.
  
      :param str read_key: key of input data to read from the datastore and use for plotting
      :param str store_key: key for output data to be stored in the datastore
      :param list features: list of features to pick up from input data (optional)
      :param list ignore_features: ignore list of features, if present (optional)
      :param list hist_names: list of histogram names to plot
      :param str hist_name_starts_with: find histograms in case hist_names is empty. default is histogram.
      """
      super().__init__()
      self.read_key = read_key
      self.store_key = store_key
      self.reference_type = reference_type
  
      self.features = features or []
      self.ignore_features = ignore_features or []
      self.hist_names = hist_names or []
      self.hist_name_starts_with = hist_name_starts_with
  
      # section specific
      self.section_name = settings.name
      self.descriptions = settings.descriptions
      self.description = settings.description
      self.hist_names = settings.hist_names
      self.hist_names_formatted = settings.hist_names_formatted
      self.plot_hist_n = settings.plot_hist_n
      self.top_n = settings.top_n
      self.n_choices = settings.inspector_histogram_choices
      self.cmap = settings.cmap
  
file_path: popmon/popmon/visualization/histogram_section.py
imports: from __future__ import annotations
  import numpy
  import pandas
  from histogrammar.util import get_hist_props
  from tqdm import tqdm
  from popmon.analysis.hist_numpy import assert_similar_hists, get_consistent_numpy_1dhists, get_consistent_numpy_entries
  from popmon.base import Module
  from popmon.config import HistogramSectionModel
  from popmon.utils import parallel, short_date
  from popmon.visualization.utils import histogram_basic_checks, plot_heatmap, plot_histogram_overlay
label_desc: Use image node_id 1 to create a new HistogramSection object from inherited base classes: Module with example: obj = HistogramSection(read_key, store_key, reference_type, settings, features, ignore_features, hist_names, hist_name_starts_with)