8000 small fixes · holoviz/panel@4d85435 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4d85435

Browse files
author
Marc Skov Madsen
committed
small fixes
1 parent 0dc2904 commit 4d85435

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

panel/widgets/indicators.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,9 @@ class BooleanStatus(BooleanIndicator):
6262
"""
6363

6464
color = param.ObjectSelector(default='dark', objects=[
65-
'primary', 'secondary', 'success', 'info', 'danger', 'warning',
66-
'light', 'dark'], doc="""
67-
The color of the circle, one of 'primary', 'secondary', 'success', 'info', 'warn',
68-
'danger', 'light', 'dark'""")
65+
'primary', 'secondary', 'success', 'info', 'danger', 'warning', 'light', 'dark'], doc="""
66+
The color of the circle, one of 'primary', 'secondary', 'success', 'info', 'danger',
67+
'warning', 'light', 'dark'""")
6968

7069
height = param.Integer(default=20, doc="""
7170
height of the circle.""")
@@ -93,10 +92,10 @@ def _process_param_change(self, msg):
9392

9493

9594
class LoadingSpinner(BooleanIndicator):
96-
"""The LoadingSpinner is a boolean indicator providing a visual representation of the loading
95+
"""The `LoadingSpinner` is a boolean indicator providing a visual representation of the loading
9796
status.
9897
99-
If the value is set to True the spinner will rotate while setting it to False will disable the
98+
If the value is set to `True` the spinner will rotate while setting it to `False` will disable the
10099
rotating segment.
101100
102101
Reference: https://panel.holoviz.org/reference/indicators/LoadingSpinner.html#indicators-gallery-loadingspinner
@@ -154,8 +153,8 @@ class Progress(ValueIndicator):
154153
"""The `Progress` widget displays the progress towards some target based on the current `value`
155154
and the `max` value.
156155
157-
If no `value` is set, the Progress widget is in indeterminate mode and will animate depending on
158-
whether it is `active` or not. A more beautiful indicator for this use case is the
156+
If no `value` is set, the `Progress` widget is in indeterminate mode and will animate depending
157+
on whether it is `active` or not. A more beautiful indicator for this use case is the
159158
`LoadingSpinner`.
160159
161160
Reference: https://panel.holoviz.org/reference/indicators/Progress.html#indicators-gallery-progress

0 commit comments

Comments
 (0)
0