We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 538ccea commit 77554b4Copy full SHA for 77554b4
tikzplotlib/_path.py
@@ -259,10 +259,9 @@ def draw_pathcollection(data, obj):
259
dd_strings = []
260
for row, code in zip(dd, codes):
261
if code == 1: # MOVETO
262
- dd_strings += [
263
- []
264
- ] # Inserts a newline to trigger "move to" in pgfplots
265
- dd_strings += [[fmt.format(val) for val in row]]
+ # Inserts a newline to trigger "move to" in pgfplots
+ dd_strings.append([])
+ dd_strings.append([fmt.format(val) for val in row])
266
dd_strings = np.array(dd_strings[1:], dtype=object)
267
268
if len(obj.get_sizes()) == len(dd):
0 commit comments