hyperspy.drawing._widgets.horizontal_line module
- class hyperspy.drawing._widgets.horizontal_line.HorizontalLineWidget(axes_manager, **kwargs)
Bases:
hyperspy.drawing.widget.Widget1DBase
A draggable, horizontal 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.