From 312b659525c9bb5ae2fc50954d152775077cfa67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nico=20Schl=C3=B6mer?= Date: Mon, 31 Jan 2022 14:35:35 +0100 Subject: [PATCH 1/2] lgtm fixes --- src/tikzplotlib/_line2d.py | 2 +- src/tikzplotlib/_path.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tikzplotlib/_line2d.py b/src/tikzplotlib/_line2d.py index 7423bbbe..14822cc8 100644 --- a/src/tikzplotlib/_line2d.py +++ b/src/tikzplotlib/_line2d.py @@ -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_string}}{{{posix_filepath}}};\n") + content.append(f"table {{opts_str}}{{{posix_filepath}}};\n") else: if len(opts) > 0: opts_str = ",".join(opts) diff --git a/src/tikzplotlib/_path.py b/src/tikzplotlib/_path.py index b8b01933..11381d59 100644 --- a/src/tikzplotlib/_path.py +++ b/src/tikzplotlib/_path.py @@ -206,7 +206,7 @@ def draw_pathcollection(data, obj): + " }%\n" + " \\scope[draw=thispointdrawcolor, fill=thispointfillcolor]%\n" + "}", - "scatter/@post marker code/.code={%\n \\endscope\n" "}", + "scatter/@post marker code/.code={%\n \\endscope\n}", ] ) From 5b020c582b7a1e99dc6edbdc6058e47f5acd7c83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nico=20Schl=C3=B6mer?= Date: Mon, 31 Jan 2022 14:35:46 +0100 Subject: [PATCH 2/2] version bump --- src/tikzplotlib/__about__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tikzplotlib/__about__.py b/src/tikzplotlib/__about__.py index 61fb31ca..1f4c4d43 100644 --- a/src/tikzplotlib/__about__.py +++ b/src/tikzplotlib/__about__.py @@ -1 +1 @@ -__version__ = "0.10.0" +__version__ = "0.10.1"