FL.helpers.interpolation.remove_axis_from_factor_list

FL.helpers.interpolation.remove_axis_from_factor_list(seq: list[float]) None

Like remove_axis_from_list, but adds the values instead of interpolating them. Used for reducing the Font.weight_vector list.

Parameters:

seq (list[float]) – The list to be adjusted.

Raises:

ValueError – If the list has an odd number of elements.