@@ -472,6 +472,35 @@ gt.pipe(
472472```
473473{{< include ./_ show-last.qmd >}}
474474
475+ ### [ gt_plt_donut] ( https://posit-dev.github.io/gt-extras/reference/gt_plt_donut.html ) {title="Click for reference"}
476+ ``` {python}
477+ # | label: gt_plt_donut
478+ from great_tables import GT
479+ from great_tables.data import gtcars
480+ import gt_extras as gte
481+
482+ gtcars_mini = gtcars.loc[
483+ 9:17,
484+ ["model", "mfr", "year", "hp", "hp_rpm", "trq", "trq_rpm", "mpg_c", "mpg_h"]
485+ ]
486+
487+ gt = (
488+ GT(gtcars_mini, rowname_col="model")
489+ .tab_stubhead(label="Car")
490+ .cols_align("center")
491+ .cols_align("left", columns="mfr")
492+ )
493+
494+ gt.pipe(
495+ gte.gt_plt_donut,
496+ columns=["hp", "hp_rpm", "trq", "trq_rpm", "mpg_c", "mpg_h"],
497+ size=40,
498+ fill="steelblue"
499+ )
500+ ```
501+ {{< include ./_ show-last.qmd >}}
502+
503+
475504### [ gt_plt_dot] ( https://posit-dev.github.io/gt-extras/reference/gt_plt_dot.html ) {title="Click for reference"}
476505``` {python}
477506# | label: gt_plt_dot
@@ -949,6 +978,29 @@ gt.pipe(gte.gt_fa_rating, columns="rating", name="star")
949978```
950979{{< include ./_ show-last.qmd >}}
951980
981+ ### [ gt_fmt_img_circle] ( https://posit-dev.github.io/gt-extras/reference/gt_fmt_img_circle.html ) {title="Click for reference"}
982+ ``` {python}
983+ # | label: gt_fmt_img_circle
984+ import polars as pl
985+ from great_tables import GT
986+ import gt_extras as gte
987+
988+ rich_avatar = "https://avatars.githubusercontent.com/u/5612024?v=4"
989+ michael_avatar = "https://avatars.githubusercontent.com/u/2574498?v=4"
990+ jules_avatar = "https://avatars.githubusercontent.com/u/54960783?v=4"
991+
992+
993+ df = pl.DataFrame({"@machow": [michael_avatar], "@rich-iannone": [rich_avatar], "@juleswg23": [jules_avatar]})
994+
995+ (
996+ GT(df)
997+ .cols_align("center")
998+ .opt_stylize(color="green", style=6)
999+ .pipe(gte.gt_fmt_img_circle, height=80)
1000+ )
1001+ ```
1002+ {{< include ./_ show-last.qmd >}}
1003+
9521004### [ img_header] ( https://posit-dev.github.io/gt-extras/reference/img_header.html ) {title="Click for reference"}
9531005``` {python}
9541006# | label: img_header
0 commit comments