Skip to content

Commit 053e4b6

Browse files
committed
correct python3 issue
1 parent 2b5b7f7 commit 053e4b6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

plotly/tools.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2015,10 +2015,11 @@ def get_streamline_arrows(self):
20152015
arrow_end_x[index] = (self.st_x[index]
20162016
[int(len(self.st_x[index]) / 3)])
20172017
arrow_start_x[index] = (self.st_x[index]
2018-
[(len(self.st_x[index]) / 3) - 1])
2019-
arrow_end_y[index] = self.st_y[index][(len(self.st_y[index]) / 3)]
2018+
[(int(len(self.st_x[index]) / 3)) - 1])
2019+
arrow_end_y[index] = (self.st_y[index]
2020+
[int(len(self.st_y[index]) / 3)])
20202021
arrow_start_y[index] = (self.st_y[index]
2021-
[(len(self.st_y[index]) / 3) - 1])
2022+
[(int(len(self.st_y[index]) / 3)) - 1])
20222023

20232024
dif_x = arrow_end_x - arrow_start_x
20242025
dif_y = arrow_end_y - arrow_start_y

0 commit comments

Comments
 (0)