Skip to content

Commit 186e530

Browse files
committed
Add scatter option when using pre marker hook
1 parent d2f8e88 commit 186e530

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tikzplotlib/_path.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ def draw_pathcollection(data, obj):
194194
ls = None
195195

196196
if add_individual_color_code:
197+
print("Adding individual color codes")
197198
draw_options.extend(
198199
[
199200
"scatter",
@@ -276,6 +277,7 @@ def draw_pathcollection(data, obj):
276277
[
277278
"visualization depends on="
278279
"{\\thisrow{sizedata} \\as\\perpointmarksize}",
280+
"scatter",
279281
"scatter/@pre marker code/.append style="
280282
"{/tikz/mark size=\\perpointmarksize}",
281283
# "scatter/@post marker code/.style={}"

0 commit comments

Comments
 (0)