This commit is contained in:
Will McGugan 2021-02-17 22:44:09 +00:00 committed by GitHub
parent 61f5a0ddae
commit e6d11cd4c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -39,8 +39,7 @@ To create a live display, construct a :class:`~rich.live.Live` object with a ren
Updating the renderable
~~~~~~~~~~~~~~~~~~~~~~~
You can also change the renderable on-the-fly by calling the :meth:`~rich.live.Live.update` method. This may be useful if the information you wish to display is too dynamic to generate by updating a single renderable. Here is an example:
You can also change the renderable on-the-fly by calling the :meth:`~rich.live.Live.update` method. This may be useful if the information you wish to display is too dynamic to generate by updating a single renderable. Here is an example::
import random
import time