Skip to content

Commit f57619c

Browse files
committed
MNT: be explicit about type
1 parent 364fd1c commit f57619c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2607,7 +2607,7 @@ def calc_arrow(uvw, angle=15):
26072607
self.add_collection(linec)
26082608
return linec
26092609

2610-
shaft_dt = np.array([0., length])
2610+
shaft_dt = np.array([0., length], dtype=float)
26112611
arrow_dt = shaft_dt * arrow_length_ratio
26122612

26132613
cbook._check_in_list(['tail', 'middle', 'tip'], pivot=pivot)

0 commit comments

Comments
 (0)