ScoreAxisConfig
ScoreAxisConfig
dataclass
¶
Configuration for the score axis of a bar or word shift plot.
The score axis is the axis along which token contributions extend.
Attributes:
| Name | Type | Description |
|---|---|---|
title |
str | None
|
Label for the score axis. Defaults to |
title_color |
str | None
|
Color of the title. If |
title_fontsize |
float | None
|
Font size of the title, in pixels. If |
label_color |
str | None
|
Color of the axis tick labels. If |
label_fontsize |
float | None
|
Font size of the axis tick labels, in pixels. If |
tick_color |
str | None
|
Color of the axis ticks. For the color of the tick labels, see |
grid |
bool
|
Whether to draw grid lines along the score axis |
grid_color |
str | None
|
Color of the grid lines |
axis_color |
str | None
|
Color of the axis line. If not |
width |
float
|
Width of the axis, in pixels |