panel icon indicating copy to clipboard operation
panel copied to clipboard

Tearing / shearing in bands of progress bar

Open jeffreymonaco opened this issue 4 years ago • 2 comments

With panel 0.11.3, the following code is used to generate a dynamic (animating) progress bar to indicate an “I am working …” state.

If the height property of the widget is set to an other-than-default value, the bands in the progress bar exhibit tearing/shearing.

Screen Shot 2021-05-12 at 10 29 39 AM
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
"""
import panel as pn

p = pn.widgets.Progress(name='Progress', bar_color='warning', value=None, width=200, height=30)
p.servable()

jeffreymonaco avatar May 12 '21 16:05 jeffreymonaco

I was trying to update the css with style, but pn.indicators.Progress(style={'height': 5}) doesn't work although https://panel.holoviz.org/reference/indicators/Progress.html indicates its a param

andhuang-CLGX avatar Jan 25 '22 00:01 andhuang-CLGX

I cannot reproduce the issue unfortunately.

philippjfr avatar Feb 17 '23 20:02 philippjfr