Skip to main content

subticks-linear

lq.tick-locate.subticks-linear(x0, x1, ticks=(), num=auto, tick-distance=auto, ..args)(source)

Automatically locates linear subticks from an array of ticks.

Parameters

x0 : float

The start of the range to locate ticks for.

x1 : float

The end of the range to locate ticks for.

ticks : array    default: ()

Ticks produced by some tick locator.

num : auto | int    default: auto

Number of subticks to put between consecutive ticks. If set to auto, this defaults to 4 for tick distances basing on 2.5, 5, and 10 and to 3 for tick distances that base on 2.

tick-distance : auto | float    default: auto

Difference between consecutive (major) ticks. If set to auto, the distance is estimated from the given ticks.

..args : any

Ignored arguments that do not apply to this locator.