Skip to content

Commit

Permalink
Merge pull request #426 from posit-dev/docs-tab-spanner-unit-syntax
Browse files Browse the repository at this point in the history
docs: indicate that `tab_spanner()` allows for use of units notation in its `label=` arg
  • Loading branch information
rich-iannone authored Sep 12, 2024
2 parents ca00fb0 + 37772be commit 016c67f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion great_tables/_spanners.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ def tab_spanner(
label
The text to use for the spanner label. We can optionally use the [`md()`](`great_tables.md`)
and [`html()`](`great_tables.html`) helper functions to style the text as Markdown or to
retain HTML elements in the text.
retain HTML elements in the text. Alternatively, units notation can be used (see
[`define_units()`](`great_tables.define_units`) for details).
columns
The columns to target. Can either be a single column name or a series of column names
provided in a list.
Expand Down

0 comments on commit 016c67f

Please sign in to comment.