Skip to content

Commit 450712b

Browse files
authored
Merge pull request #539 from hgroll/main
need triple braces for f-string
2 parents 74b9039 + 1b261f4 commit 450712b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tikzplotlib/_line2d.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def _table(obj, data): # noqa: C901
290290

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

0 commit comments

Comments
 (0)