plopp.graphics.ScatterView#
- class plopp.graphics.ScatterView(*nodes, x='x', y='y', size=None, norm='linear', vmin=None, vmax=None, autoscale='auto', scale=None, mask_color='black', aspect='auto', grid=False, title=None, figsize=None, format=None, legend=True, cmap='viridis', mask_cmap='gray', cbar=False, **kwargs)[source]#
- __init__(*nodes, x='x', y='y', size=None, norm='linear', vmin=None, vmax=None, autoscale='auto', scale=None, mask_color='black', aspect='auto', grid=False, title=None, figsize=None, format=None, legend=True, cmap='viridis', mask_cmap='gray', cbar=False, **kwargs)[source]#
Methods
__init__
(*nodes[, x, y, size, norm, vmin, ...])make_artist
(new_values)notify_view
(message)When a notification is received, request data from the corresponding parent node and update the relevant artist.
render
()At the end of figure creation, this function is called to request data from all parent nodes and draw the figure.
update
(*args, **kwargs)Update the view with new data by either supplying a dictionary of new data or by keyword arguments.
Attributes
id
The unique id of the view.