graphical.mark
Mark
Defines the range of characters to render a mark.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
Mark chars for positive value. |
required |
|
str
|
Mark chars for negative values. Defaults to positive. |
None
|
get
Maps a value in the domain [-1, 1] to the corresponding character.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
float
|
Value in the domain [-1, 1]. |
required |
|
bool
|
Get inverted character. Defaults to False. |
False
|
Raises:
| Type | Description |
|---|---|
ValueError
|
Value must be in domain [-1.0, 1.0]. |
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
Character representing the value. |