Skip to main content

linear

lq.tick-format.linear(ticks, exponent: auto, offset: auto, auto-exponent-threshold: 3, pad: true, suffix: none, tick-info: (:), ..args)(source)

Formats linear ticks, see tick-locate.linear. This is the most common tick formatter.

Parameters

ticks : array

The ticks to format.

exponent : auto | int | "inline"    default: auto

The exponent to apply to the ticks.

offset : auto | int | float    default: auto

The offset to apply to the ticks.

auto-exponent-threshold : int    default: 3

Determines the threshold for automatic exponents to kick in.

pad : bool    default: true

Whether to pad ticks with zeros to align the decimal point, e.g., (0, 0.5, 1) become (0.0, 0.5, 1.0).

suffix : content    default: none

A suffix to display with each tick label.

tick-info : dictionary    default: (:)

Additional information from the tick locator.

..args : any

Arguments that are ignored by this formatter.