Skip to main content

datetime

lq.tick-format.datetime(ticks, format=datetime-smart-format, format-offset=datetime-smart-offset, tick-info=(:), ..args)(source)

Formats datetime ticks.

Parameters

ticks : array.

The ticks to format.

format : str | function    default: datetime-smart-format

How to format the ticks. This can be a format string to be used with datetime.display or a function that receives a datetime.

format-offset : function    default: datetime-smart-offset

How to format the offset.

tick-info : dictionary    default: (:)

Additional information from the tick locator.

..args : any

Arguments that are ignored by this formatter.