pyyeti.datacursor.DataCursor.addpt_func

DataCursor.addpt_func(func)[source]

Function to call on a left-click.

Call signature is: func(point)

The input point is a SimpleNamespace as described for the mk_label attribute. See DataCursor.