Skip to content

Commit ed1f32a

Browse files
committed
Don't emit invalid tex when externalizing line2d tables
1 parent fc0adb8 commit ed1f32a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tikzplotlib/_line2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def _table(obj, data): # noqa: C901
299299

300300
opts_str = ("[" + ",".join(opts) + "] ") if len(opts) > 0 else ""
301301
posix_filepath = rel_filepath.as_posix()
302-
content.append(f"table {{{opts_str}}}{{{posix_filepath}}};\n")
302+
content.append(f"table{opts_str}{{{posix_filepath}}};\n")
303303
else:
304304
if len(opts) > 0:
305305
opts_str = ",".join(opts)

0 commit comments

Comments
 (0)