suboptimumg.plotting.bar_chart#

suboptimumg.plotting.bar_chart.plot_bar_chart(data_by_variable, percent_steps, baseline_value, title, y_label, theme='chart_default', font_config=None, layout_config=None)[source]#

Generic bar chart plotting utility for showing multiple data series.

Parameters:
  • data_by_variable (List[Dict]) – List of dicts with keys: ‘var_name’ (str), ‘points’ (numpy array), ‘plausible’ (numpy boolean array)

  • percent_steps (numpy.ndarray) – Array of percent step values used in the sweep

  • baseline_value (float) – Float value to draw as a horizontal baseline

  • title (str) – Plot title

  • y_label (str) – Y-axis label

  • theme (str, optional) – Color theme name for the gradient

  • font_config (FontConfig, optional) – FontConfig object for font sizes

  • layout_config (LayoutConfig, optional) – LayoutConfig object for layout dimensions

Returns:

Plotly figure object

Return type:

go.Figure