Skip to content

Commit

Permalink
log template file
Browse files Browse the repository at this point in the history
  • Loading branch information
John Lyu committed Jul 17, 2024
1 parent 3a51027 commit 81b71f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dataframe_image/_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ def to_pdf_latex(self):
latex, _ = super(PDFExporter, pdf).from_notebook_node(
self.nb, self.resources
)
_logger.error(f"nbconvert failed to create PDF via latex \n\n{latex}")
_logger.error(f"nbconvert failed to create PDF via latex template {pdf.template_file} \n\n{latex}")
with open("notebook.tex", "w", encoding="utf-8") as f:
f.write(latex)
raise ex
Expand Down
2 changes: 1 addition & 1 deletion dataframe_image/_pandas_accessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from pandas.io.formats.style import Styler
from PIL import Image

from dataframe_image.converter import (
from dataframe_image.converter.browser import (
ChromeConverter,
Html2ImageConverter,
PlayWrightConverter,
Expand Down

0 comments on commit 81b71f2

Please sign in to comment.