PointsStyle#
- class movement.napari.layer_styles.PointsStyle(name, properties, visible=True, blending='translucent', symbol='disc', size=10, border_width=0, face_color=None, face_color_cycle=None, face_colormap='turbo', text=<factory>)[source]#
Bases:
LayerStyle
Style properties for a napari Points layer.
Methods
Return the style properties as a dictionary of kwargs.
set_color_by
(prop[, cmap])Color markers and text by a column in the properties DataFrame.
set_text_by
(prop)Set the text property for the points layer.
- as_kwargs()#
Return the style properties as a dictionary of kwargs.
- Return type:
dict