File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/python/plotly/plotly/figure_factory Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -381,14 +381,14 @@ def get_streamline_arrows(self):
381
381
space = np .empty ((len (point1_x )))
382
382
space [:] = np .nan
383
383
384
- # Combine arrays into matrix
385
- arrows_x = np .matrix ([point1_x , arrow_end_x , point2_x , space ])
384
+ # Combine arrays into array
385
+ arrows_x = np .array ([point1_x , arrow_end_x , point2_x , space ])
386
386
arrows_x = np .array (arrows_x )
387
387
arrows_x = arrows_x .flatten ("F" )
388
388
arrows_x = arrows_x .tolist ()
389
389
390
- # Combine arrays into matrix
391
- arrows_y = np .matrix ([point1_y , arrow_end_y , point2_y , space ])
390
+ # Combine arrays into array
391
+ arrows_y = np .array ([point1_y , arrow_end_y , point2_y , space ])
392
392
arrows_y = np .array (arrows_y )
393
393
arrows_y = arrows_y .flatten ("F" )
394
394
arrows_y = arrows_y .tolist ()
You can’t perform that action at this time.
0 commit comments