pyCGM2.Report.plot.stpHorizontalHistogram#

pyCGM2.Report.plot.stpHorizontalHistogram(figAxis: Axes, analysisStructureItem: AnalysisStructure, stpLabel: str, overall: bool = False, title: str | None = None, xlabel: str | None = None, xlim: List | None = None)#

Plots spatio-temporal parameters as a histogram from an attribute of an analysis instance.

Parameters:
  • figAxis (plt.Axes) – A matplotlib figure axis.

  • analysisStructureItem (AnalysisStructure) – An AnalysisStructure on an analysis instance.

  • stpLabel (str) – Spatio-temporal label.

  • overall (bool, optional) – Plot overall data. Defaults to False.

  • title (Optional[str], optional) – Plot title. Defaults to None.

  • xlabel (Optional[str], optional) – X-axis label. Defaults to None.

  • xlim (Optional[List], optional) – X boundaries. Defaults to None.