Merge pull request #2654 from Textualize/progressbar-docs

Fix progress bar docs issue.
This commit is contained in:
Rodrigo Girão Serrão
2023-05-25 11:59:37 +01:00
committed by GitHub

View File

@@ -281,9 +281,6 @@ class ProgressBar(Widget, can_focus=False):
The percentage is a value between 0 and 1 and the returned value is only
`None` if the total progress of the bar hasn't been set yet.
In other words, after the progress bar emits the message
[`ProgressBar.Started`][textual.widgets.ProgressBar.Started],
the value of `percentage` is always not `None`.
Example:
```py