Skip to content

Commit fb611a7

Browse files
author
David Nolte
committed
fixes #441
1 parent bf62dda commit fb611a7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tikzplotlib/_path.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,11 @@ def draw_pathcollection(data, obj):
174174
data, pgfplots_marker, marker_options = _mpl_marker2pgfp_marker(
175175
data, marker0, fc
176176
)
177-
draw_options += [f"mark={pgfplots_marker}"] + marker_options
177+
draw_options += [f"mark={pgfplots_marker}"]
178+
if marker_options:
179+
draw_options += [
180+
"mark options={{{}}}".format(",".join(marker_options))
181+
]
178182

179183
# `only mark` plots don't need linewidth
180184
data, extra_draw_options = get_draw_options(data, obj, ec, fc, ls, None)

0 commit comments

Comments
 (0)