Skip to content

Commit 538ccea

Browse files
committed
Fix deprecation waring
1 parent c3225ab commit 538ccea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tikzplotlib/_path.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def draw_pathcollection(data, obj):
263263
[]
264264
] # Inserts a newline to trigger "move to" in pgfplots
265265
dd_strings += [[fmt.format(val) for val in row]]
266-
dd_strings = np.array(dd_strings[1:])
266+
dd_strings = np.array(dd_strings[1:], dtype=object)
267267

268268
if len(obj.get_sizes()) == len(dd):
269269
# See Pgfplots manual, chapter 4.25.

0 commit comments

Comments
 (0)