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