AnyLumino
API referenceastryxinputs

LogSlider

Render an Astryx slider on a logarithmic scale.

Astryx Slider steps linearly, so this wrapper drives it in exponent space and synchronizes base ** exponent as the value. Everything else, including continuous_update, behaves like :class:Slider.

Notes

Functions

constructor__init__(value=1, *, label='', label_position='top', label_width=None, base=10, min_exponent=0, max_exponent=4, step=0.1, disabled=False, value_display=None, description=None, **props) -> None
paramvalueint | float
= 1

Synchronized component value on the real scale, not the exponent.

paramlabelstr
= ''

Visible or accessible label for the component.

paramlabel_positionstr
= 'top'

Place the label above the slider or beside it in a compact row.

paramlabel_widthint | float | str | None
= None

Width of a left-side label. Use the same width to align sibling sliders.

parambaseint | float
= 10

Logarithm base.

parammin_exponentint | float
= 0

Smallest exponent the slider can reach.

parammax_exponentint | float
= 4

Largest exponent the slider can reach.

paramstepint | float
= 0.1

Exponent step between slider positions.

paramdisabledbool
= False

Whether the component should render disabled.

paramvalue_displaystr | None
= None

Tooltip, text, or hidden value presentation.

paramdescriptionstr | None
= None

Helper text displayed with the input.

parampropsAny
= {}

Returns

None

On this page