fix typo in docs

This commit is contained in:
Goichi Iisaka 2020-12-19 08:13:34 +09:00
parent 0ea2d45a95
commit 7ae55ac2ee
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"
)