MCPcopy Index your code
hub / github.com/plotly/plotly.py / sum_streamlines

Method sum_streamlines

plotly/figure_factory/_streamline.py:396–406  ·  view source on GitHub ↗

Makes all streamlines readable as a single trace. :rtype (list, list): streamline_x: all x values for each streamline combined into single list and streamline_y: all y values for each streamline combined into single list

(self)

Source from the content-addressed store, hash-verified

394 return arrows_x, arrows_y
395
396 def sum_streamlines(self):
397 """
398 Makes all streamlines readable as a single trace.
399
400 :rtype (list, list): streamline_x: all x values for each streamline
401 combined into single list and streamline_y: all y values for each
402 streamline combined into single list
403 """
404 streamline_x = sum(self.st_x, [])
405 streamline_y = sum(self.st_y, [])
406 return streamline_x, streamline_y

Callers 2

__init__Method · 0.95
create_streamlineFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected