Skip to content

Commit a324501

Browse files
committed
small fix
1 parent 1987fde commit a324501

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tikzplotlib/_path.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def draw_path(data, path, draw_options=None, simplify=None):
2727
ff = data["float format"]
2828
xformat = "" if x_is_date else ff
2929
prev = None
30+
is_area = None
3031
for vert, code in path.iter_segments(simplify=simplify):
3132
# nschloe, Oct 2, 2015:
3233
# The transform call yields warnings and it is unclear why. Perhaps
@@ -205,7 +206,7 @@ def draw_pathcollection(data, obj):
205206
+ " }%\n"
206207
+ " \\scope[draw=thispointdrawcolor, fill=thispointfillcolor]%\n"
207208
+ "}",
208-
+"scatter/@post marker code/.code={%\n" " \\endscope\n" "}",
209+
"scatter/@post marker code/.code={%\n" " \\endscope\n" "}",
209210
]
210211
)
211212

0 commit comments

Comments
 (0)