sections docs and test

This commit is contained in:
Will McGugan 2022-09-23 15:21:28 +01:00
parent c6001e5226
commit 36fa43da75
3 changed files with 27 additions and 1 deletions

View file

@ -96,7 +96,7 @@ Lines
By default, Tables will show a line under the header only. If you want to show lines between all rows add ``show_lines=True`` to the constructor.
You can also force a line on the next row by setting ``end_section=True`` on the call to ``add_row()``.
You can also force a line on the next row by setting ``end_section=True`` on the call to :meth:`~rich.table.Table.add_row`, or by calling the :meth:`~rich.table.Table.add_section` to add a line between the current and subsequent rows.
Empty Tables