Skip to content

Commit 1987fde

Browse files
committed
lgtm fixes
1 parent afe2d9a commit 1987fde

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/tikzplotlib/_path.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -199,13 +199,13 @@ def draw_pathcollection(data, obj):
199199
"visualization depends on={value \\thisrow{draw} \\as \\drawcolor}",
200200
"visualization depends on={value \\thisrow{fill} \\as \\fillcolor}",
201201
"scatter/@pre marker code/.code={%\n"
202-
" \\expanded{%\n"
203-
" \\noexpand\\definecolor{thispointdrawcolor}{RGB}{\\drawcolor}%\n"
204-
" \\noexpand\\definecolor{thispointfillcolor}{RGB}{\\fillcolor}%\n"
205-
" }%\n"
206-
" \\scope[draw=thispointdrawcolor, fill=thispointfillcolor]%\n"
207-
"}",
208-
"scatter/@post marker code/.code={%\n" " \\endscope\n" "}",
202+
+ " \\expanded{%\n"
203+
+ " \\noexpand\\definecolor{thispointdrawcolor}{RGB}{\\drawcolor}%\n"
204+
+ " \\noexpand\\definecolor{thispointfillcolor}{RGB}{\\fillcolor}%\n"
205+
+ " }%\n"
206+
+ " \\scope[draw=thispointdrawcolor, fill=thispointfillcolor]%\n"
207+
+ "}",
208+
+"scatter/@post marker code/.code={%\n" " \\endscope\n" "}",
209209
]
210210
)
211211

@@ -274,9 +274,9 @@ def draw_pathcollection(data, obj):
274274
draw_options.extend(
275275
[
276276
"visualization depends on="
277-
"{\\thisrow{sizedata} \\as\\perpointmarksize}",
277+
+ "{\\thisrow{sizedata} \\as\\perpointmarksize}",
278278
"scatter/@pre marker code/.append style="
279-
"{/tikz/mark size=\\perpointmarksize}",
279+
+ "{/tikz/mark size=\\perpointmarksize}",
280280
# "scatter/@post marker code/.style={}"
281281
]
282282
)

0 commit comments

Comments
 (0)