Skip to content

BorderConfig

BorderConfig dataclass

Configuration for the border of the entire chart, regardless of axis.

Attributes:

Name Type Description
color str | None

Color of the border lines, tick marks, and zero line. RankAxisConfig.axis_color, ScoreAxisConfig.axis_color, and ZeroLineConfig.color take priority if specified

width float

Width of the border edges opposite the axes, in pixels. width = 0 draws no border box (only the rank and score axes remain); width > 0 closes the box at that width. The native rank and score axis widths are owned by RankAxisConfig.width and ScoreAxisConfig.width

Source