You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no unambiguous approach how to work with different unit of measurement in one panel application. As a workaround, the symbols can be added in "brackets" after the widget name/description. For example:
Float Slider name [kg/s]: 1.23
Another Float Slider name [kg/s]: 1.24
Yet another Float Slider name [kg/s]: 3.2
But this results in a cluttered user interface. Although the use of brackets is not the standard-conform way to write si-unit based symbols!
A clear representation could look like this: float_slider = pn.widgets.FloatSlider(name=‘Float Slider’, value=1.23, symbol=‘kg/s’)
The symbols and (widget value) are aligned to the right.
The result would be an uncluttered and clear unser interface with the possibility to add units of measurement.
The text was updated successfully, but these errors were encountered:
There is no unambiguous approach how to work with different unit of measurement in one panel application. As a workaround, the symbols can be added in "brackets" after the widget name/description. For example:
Float Slider name [kg/s]: 1.23
Another Float Slider name [kg/s]: 1.24
Yet another Float Slider name [kg/s]: 3.2
But this results in a cluttered user interface. Although the use of brackets is not the standard-conform way to write si-unit based symbols!
A clear representation could look like this:

float_slider = pn.widgets.FloatSlider(name=‘Float Slider’, value=1.23, symbol=‘kg/s’)
The symbols and (widget value) are aligned to the right.
The result would be an uncluttered and clear unser interface with the possibility to add units of measurement.
The text was updated successfully, but these errors were encountered: