forestploter.ForestSeriesStyle

class forestploter.ForestSeriesStyle(label, color, marker='s', summary_marker='diamond')[source]

Define the color, marker, and legend label for one series.

Parameters:
labelstr

Display label used in the legend.

colorstr

Matplotlib color specification.

markerstr, default “s”

Matplotlib marker for ordinary estimates.

summary_marker{“diamond”, “same”}, default “diamond”

Summary marker. "diamond" draws a diamond; "same" reuses marker.

Parameters:
  • label (str)

  • color (str)

  • marker (str)

  • summary_marker (str)

Notes

In forestploter.forest(), series_styles is keyed by _series values, so styling is independent of source-record order.

__init__(label, color, marker='s', summary_marker='diamond')
Parameters:
  • label (str)

  • color (str)

  • marker (str)

  • summary_marker (str)

Return type:

None

Methods

__init__(label, color[, marker, summary_marker])

Attributes

marker

summary_marker

label

color