Skip to content

Commit 256f471

Browse files
committed
Cherry-pick PR nschloe#625: Don't emit invalid tex when externalizing line2d tables
1 parent 0e4faaa commit 256f471

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tikzplotlib/_line2d.py

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

295295
opts_str = ("[" + ",".join(opts) + "] ") if len(opts) > 0 else ""
296296
posix_filepath = rel_filepath.as_posix()
297-
content.append(f"table {{{opts_str}}}{{{posix_filepath}}};\n")
297+
content.append(f"table{opts_str}{{{posix_filepath}}};\n")
298298
else:
299299
if len(opts) > 0:
300300
opts_str = ",".join(opts)

0 commit comments

Comments
 (0)