Skip to main content

subticks-log

lq.tick-locate.subticks-log(x0, x1, ticks=(), subs=auto, base=auto, ..args)(source)

Automatically locates logarithmic 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.

subs : auto | array    default: auto

Which multiples of each tick to mark as with a subtick, e.g., (2,3,4,5,6,7,8,9). If set to auto, this defaults to range(2, base).

base : auto | float    default: auto

Base of the logarithmic scale. If set to auto, the base is tried to be inferred from the given ticks.

..args : any

Ignored arguments that do not apply to this locator.