plopp.widgets.drawing.PointsTool#

plopp.widgets.drawing.PointsTool = functools.partial(<class 'plopp.widgets.drawing.DrawingTool'>, tool=functools.partial(<function _make_points>, mec='w'), get_artist_info=<function _get_points_info>, icon='crosshairs')#

Tool to add point markers onto a figure.

Parameters:
  • figure – The figure where the tool will draw things (points, lines, shapes…).

  • input_node – The node that provides the raw data which is shown in figure.

  • func – The function to be used to make a node whose parents will be the input_node and a node yielding the current state of the tool (current position, size).

  • destination – Where the output from the func node will be then sent on. This can either be a figure, or another graph node.

  • value (default: False) – Activate the tool upon creation if True.

  • **kwargs – Additional arguments are forwarded to the ToggleTool constructor.