suboptimumg.plotting.stem_plot#

suboptimumg.plotting.stem_plot.plot_3d_stem(x, y, z, title=None, z_label=None, theme=None, font_config=None, layout_config=None, scene_config=None)[source]#

Creates a 3D stem plot with vertical lines extending from baseline to data points.

This is a general-purpose 3D stem plotting utility that creates vertical lines (stems) from a baseline to each data point, with markers at the top of each stem.

Parameters:
  • x (NDArray[float64]) – X coordinates of data points

  • y (NDArray[float64]) – Y coordinates of data points

  • z (NDArray[float64]) – Z values (heights) of data points

  • title (str, optional) – Plot title (default: None)

  • z_label (str, optional) – Z-axis label (default: None)

  • theme (str, optional) – The color theme to use (default: None)

  • font_config (FontConfig, optional) – Font configuration object (default: None, uses DEFAULT_FONT_CONFIG)

  • layout_config (LayoutConfig, optional) – Layout configuration object (default: None, uses DEFAULT_LAYOUT_CONFIG)

  • scene_config (SceneConfig, optional) – Scene configuration object for 3D view (default: None, uses DEFAULT_SCENE_CONFIG)

Returns:

Plotly figure object with 3D stem plot

Return type:

go.Figure