Skip to content

Commit

Permalink
Merge pull request #539 from hgroll/main
Browse files Browse the repository at this point in the history
need triple braces for f-string
  • Loading branch information
nschloe authored Feb 28, 2022
2 parents 74b9039 + 1b261f4 commit 450712b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tikzplotlib/_line2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def _table(obj, data): # noqa: C901

opts_str = ("[" + ",".join(opts) + "] ") if len(opts) > 0 else ""
posix_filepath = rel_filepath.as_posix()
content.append(f"table {{opts_str}}{{{posix_filepath}}};\n")
content.append(f"table {{{opts_str}}}{{{posix_filepath}}};\n")
else:
if len(opts) > 0:
opts_str = ",".join(opts)
Expand Down

0 comments on commit 450712b

Please sign in to comment.