MCPcopy
hub / github.com/PiLiDAR/PiLiDAR / animate

Method animate

lib/matplotlib_2D.py:37–43  ·  view source on GitHub ↗
(self, i)

Source from the content-addressed store, hash-verified

35 return self.ax,
36
37 def animate(self, i):
38 line = getattr(self, 'line', None)
39 if line is not None:
40 line.remove()
41
42 self.line = self.ax.scatter(self.x_list, self.y_list, c=self.color_list/255, s=self.s)
43 return self.line,
44
45 # def update_lists(self, x_list, y_list, luminance_list):
46 # self.x_list = np.asarray(x_list)

Callers 1

matplotlib_2D.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected