mendevi.plot.axis

Extract the values associated with an axis.

Functions

get_label_extractor(name)

Get the way to deserialize a raw value.

Details

mendevi.plot.axis.get_label_extractor(name: str)[source]

Get the way to deserialize a raw value.

Parameters

namestr

The value code, one of :py:cst`mendevi.plot.axis.NAMES`.

Returns

labelstr

The description of the physical quantity. This description can be used to label the axes of a graph.

funccallable

The function that performs the verification and deserialisation task.

is_logboolean or None

True to display in log space, False for linear. The value None means the axis is not continuous.