spacepy.pybats.interact.ClickTracer¶
- class spacepy.pybats.interact.ClickTracer(ax, bats, xfield, yfield, debug=False)[source]¶
ClickTracers, given an axis containing a 2D plot and the pybats.bats.Bats2d object used to create it, allows the user to click to add a streamline passing through the point clicked.
Methods
connect
()Activate trace-on-click.
Deactivate trace-on-click.