Skip to content

Commit 84b0ce7

Browse files
authored
šŸ› Fix: change the engine to export tables to images from chrome to matplotlib (#104)
1 parent 34b409f commit 84b0ce7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ā€Žsrc/vuegen/quarto_reportview.pyā€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ def _show_dataframe(
861861
# Generate path for the DataFrame image
862862
df_image = Path(static_dir) / f"{dataframe.title.replace(' ', '_')}.png"
863863
dataframe_content.append(
864-
f"df.dfi.export('{Path(df_image).resolve().as_posix()}', max_rows=10, max_cols=5)\n```\n"
864+
f"df.dfi.export('{Path(df_image).resolve().as_posix()}', max_rows=10, max_cols=5, table_conversion='matplotlib')\n```\n"
865865
)
866866
# Use helper method to add centered image content
867867
dataframe_content.append(self._generate_image_content(df_image))

0 commit comments

Comments
Ā (0)