Superscript text not exported properly
I have a data-frame with some Superscript text crate with the code [cm\N{SUPERSCRIPT THREE}/min] .

However when i export this df as a image with the code below.
import dataframe_image as dfi
dfi.export(styled_df, "resultTable.png"))
It does not get exported properly (pic below). There a weird straight line like character instead of Superscript

Is there workaround for this?
Can you create the superscript without latex? How about using the unicode superscript ³
I did that too with [cm\u00b3/min] instead of [cm\N{SUPERSCRIPT THREE}/min]. Even with this approach, the table looks correct in Jupyter notebook but after saving it as .png with dataframe_image, the same weird straight line like character is there instead of Superscript.
Can you use the literal character ³ instead of the unicode?
Same result even with character ³. The same weird straight line like character is there instead of Superscript in the exported .png file.
Any fix or workaround for this issue?
Any fix or workaround for this issue?
converters = ["chrome", "selenium", "matplotlib", "html2image", "playwright"]
for c in converters:
df_latex = pd.DataFrame(["cm³/mm²"])
dfi.export(
df_latex,
f"c.png",
table_conversion=c,
)
Following 5 images are test result. I can not reproduce the bug.