Merge pull request #837 from iisaka51/master

fix typo in docs
This commit is contained in:
Will McGugan 2020-12-19 14:10:59 +00:00 committed by GitHub
commit 6b748283c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -138,7 +138,7 @@ The Live class will create an internal Console object which you can access via `
table.add_column("Description")
table.add_column("Level")
with Live(table, refresh_per_second=4): # update 4 times a second to feel fluid
with Live(table, refresh_per_second=4) as live: # update 4 times a second to feel fluid
for row in range(12):
live.console.print("Working on row #{row}")
time.sleep(0.4)

View File

@ -65,7 +65,7 @@ This allows you to specify the text of the column only. If you want to set other
table = Table(
"Released",
"Title",
Column(header="Box Office", align="right"),
Column(header="Box Office", justify="right"),
title="Star Wars Movies"
)