import great_tables as gt
import pandas as pd
gt.GT(pd.DataFrame({"x": [1, 2], "y": [3, 4]}))HTML Repr with Output Title
When output-title wraps a rich HTML object like a GT table the container should go frameless — no double border.
GT table with output-title
Example Table
| x | y |
|---|---|
| 1 | 3 |
| 2 | 4 |
GT table without output-title (baseline)
import great_tables as gt
import pandas as pd
gt.GT(pd.DataFrame({"a": [10, 20], "b": [30, 40]}))| a | b |
|---|---|
| 10 | 30 |
| 20 | 40 |
Plain text with output-title (framed)
from gdtest_mock_code import greet
greet("comparison")Text Output
'Hello, comparison!'
The GT table with output-title should show a floating label with no frame. The baseline GT table (no output-title) should render identically to any other GT table. The text output should keep its frame.