x,y: array of x,y values. Alternatively, specify spots[‘pos’] = (x,y) pxMode: If True, spots are always the same size regardless of scaling, and size is given in px.
Otherwise, size is in scene coordinates and the spots scale with the view.
Remove all existing points in the scatter plot and add a new set. Arguments:
- spots - list of dicts specifying parameters for each spot
- [ {‘pos’: (x,y), ‘pen’: ‘r’, ...}, ...]
- x, y - arrays specifying location of spots to add.
- all other parameters (pen, symbol, etc.) will be set to the default values for this scatter plot. these arguments are IGNORED if ‘spots’ is specified
- data - list of arbitrary objects to be assigned to spot.data for each spot
- (this is useful for identifying spots that are clicked on)