posit-dev / great-tables

Make awesome display tables using Python.
https://posit-dev.github.io/great-tables/
MIT License
1.81k stars 60 forks source link

The exported image is blank. #234

Open abc767234318 opened 6 months ago

abc767234318 commented 6 months ago

My code

from great_tables import GT, md, exibble
from pathlib import Path

gt_tbl = (
        GT(
            exibble[["num", "char", "currency", "row", "group"]],
            rowname_col="row",
            groupname_col="group",
            id="test_table",
        )
        .tab_header(
            title=md("Data listing from **exibble**"),
            subtitle=md("`exibble` is a **Great Tables** dataset."),
        )
        .fmt_number(columns="num")
        .fmt_currency(columns="currency")
        .tab_source_note(source_note="This is only a subset of the dataset.")
    )

gt_tbl.save("a.png")

But the a.png is blank. a

coinflip112 commented 6 months ago

Same issure here