Skip to content

Commit

Permalink
add missing colon
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Jan 13, 2023
1 parent 856f53b commit 8f5ab97
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions mathics/builtin/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,35 +91,35 @@ class Grid(Builtin):
.
. c d
For shallow lists, elements are shown as a column
For shallow lists, elements are shown as a column:
>> Grid[{a, b, c}]
= a
.
. b
.
. c
.
. c
If the sublists have different sizes, the grid has the number of columns of the \
largest one. Incomplete rows are completed with empty strings:
>> Grid[{{"first", "second", "third"},{a},{1, 2, 3}}]
= first second third
= first second third
.
. a
. a
.
. 1 2 3
. 1 2 3
If the list is a mixture of lists and other expressions, the non-list expressions are
shown as rows:
>> Grid[{"This is a long title", {"first", "second", "third"},{a},{1, 2, 3}}]
= This is a long title
.
. first second third
. first second third
.
. a
. a
.
. 1 2 3
. 1 2 3
"""

Expand Down

0 comments on commit 8f5ab97

Please sign in to comment.