Skip to content

Commit f4611b6

Browse files
committed
fix(layout_annotation.py): float too long
format float such that the arguments satisfy the requirements
1 parent 47e4d68 commit f4611b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vrdu/layout_annotation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def retrive_figure_source_code(
179179
"synctex",
180180
"edit",
181181
"-o",
182-
f"{page_index + 1}:{center_x}:{center_y}:{pdf_filename}",
182+
f"{page_index + 1}:{center_x:.2f}:{center_y:.2f}:{pdf_filename}",
183183
"-d",
184184
self.main_directory,
185185
],

0 commit comments

Comments
 (0)