hyperspy.drawing._widgets.vertical_line module

class hyperspy.drawing._widgets.vertical_line.VerticalLineWidget(axes_manager, **kwargs)

Bases: Widget1DBase

A draggable, vertical line widget.

_onmousemove(event)

on mouse motion draw the cursor if picked

_set_patch()

Create the matplotlib patch(es), and store it in self.patch

_update_patch_position()

Updates the position of the patch on the plot.