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.

__init__(ax, bats, xfield, yfield, debug=False)[source]

Methods

connect()

Activate trace-on-click.

disconnect()

Deactivate trace-on-click.

connect()[source]

Activate trace-on-click.

disconnect()[source]

Deactivate trace-on-click.