Stats lines
stats
Helper functions and classes for plotting stats information on an axes.
StatsLine
A horizontal statistical line with vertical drops at each end.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ax
|
Axes
|
Axes to draw the line on. |
required |
y
|
float
|
y location of the line as a fraction of the axes height. |
required |
x0
|
float
|
x location of the start of the line in data coordinates. |
required |
x1
|
float
|
x location of the end of the line in data coordinates. |
required |
set_transform
Set the transform for the stat bar.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
x
|
(data, axes)
|
Coordinates |
"data"
|
y
|
(data, axes)
|
Coordinates |
"data"
|
Raises:
| Type | Description |
|---|---|
ValueError
|
If |