Skip to main content

years

lq.tick-locate.years(x0, x1, tick-distance=auto, num-ticks-suggestion=5, density=100%, ..args)(source)

Locates years on a datetime interval.

Parameters

x0 : float

The start of the range to locate ticks for.

x1 : float

The end of the range to locate ticks for.

tick-distance : auto | int | float | dictionary    default: auto

Sets the distance between consecutive ticks, see tick-locate.linear.

num-ticks-suggestion : int | float    default: 5

Suggested number of ticks to use. This may for example be chosen according to the length of the axis and the font size.

density : ratio    default: 100%

The density of ticks. This can be used as a qualitative knob to tune the number of generated ticks in relation to the suggested number of ticks.

..args : any

Ignored arguments that do not apply to this locator.