Add option to set the colour for points based on their group.
This commit is contained in:
@@ -25,6 +25,8 @@ def update_line(num, iterator, line, prev_groups):
|
||||
line.set_offsets(offsets)
|
||||
intens = np.array([meas[0] for meas in scan])
|
||||
line.set_array(intens)
|
||||
# Set the colour matrix: Just set the colours to 2 * np.pi * group number (for every group number)
|
||||
# line.set_color()
|
||||
return line,
|
||||
|
||||
class Bunch:
|
||||
|
||||
Reference in New Issue
Block a user