Skip to content

Commit 312b659

Browse files
committed
lgtm fixes
1 parent 06b498e commit 312b659

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/tikzplotlib/_line2d.py

Lines changed: 1 addition & 1 deletion
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_string}}{{{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)

src/tikzplotlib/_path.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def draw_pathcollection(data, obj):
206206
+ " }%\n"
207207
+ " \\scope[draw=thispointdrawcolor, fill=thispointfillcolor]%\n"
208208
+ "}",
209-
"scatter/@post marker code/.code={%\n \\endscope\n" "}",
209+
"scatter/@post marker code/.code={%\n \\endscope\n}",
210210
]
211211
)
212212

0 commit comments

Comments
 (0)