Skip to content

hertzforge.drawing.plot.signature

signature

Drawing decisions for signature: what a figure needs to know, with none of the code that draws it.

Functions:

Name Description
display_scale

The factor from SI to the units a record of dimension is drawn

display_unit

The unit a record of dimension is drawn in, as plain text ('g/g',

percent

A shift as the table writes it: '−3.3 %'.

Functions:

display_scale

display_scale(dimension: str, unit_system: Any = None) -> float

The factor from SI to the units a record of dimension is drawn in, so a height read in SI lands on the curve as drawn; 1 for a record whose units are undeclared.

display_unit

display_unit(dimension: str, unit_system: Any = None) -> str

The unit a record of dimension is drawn in, as plain text ('g/g', 'g/lbf'); empty for a record whose units are undeclared.

percent

percent(value: float) -> str

A shift as the table writes it: '−3.3 %'.