Method: rich.bar.Bar.__init__
Calls: 6, Exceptions: 0, Paths: 1Back
Path 1: 6 calls (1.0)
100 (5) 0 (1)
11 (3) 12 (1) 60 (1) 0 (1)
62 (3) 57 (1) 40 (1) 0 (1)
50 (4) None (2)
'default' (6)
'default' (6)
1def __init__(
2 self,
3 size: float,
4 begin: float,
5 end: float,
6 *,
7 width: Optional[int] = None,
8 color: Union[Color, str] = "default",
9 bgcolor: Union[Color, str] = "default",
10 ):
11 self.size = size
12 self.begin = max(begin, 0)
13 self.end = min(end, size)
14 self.width = width
15 self.style = Style(color=color, bgcolor=bgcolor)