AbstractMplRoi#

class glue.core.roi.AbstractMplRoi(axes, roi=None, data_space=True)[source]#

Bases: object

Base class for objects which use Matplotlib user events to edit/display ROIs.

Parameters:
axesmatplotlib.axes.Axes

The Matplotlib axes to draw to.

roiglue.core.roi.Roi, optional

If specified, this ROI will be used and updated, otherwise a new one will be created.

Methods Summary

abort_selection(event)

active()

finalize_selection(event)

reset([include_roi])

roi()

start_selection(event)

update_selection(event)

Methods Documentation

abort_selection(event)[source]#
active()[source]#
finalize_selection(event)[source]#
reset(include_roi=True)[source]#
roi()[source]#
start_selection(event)[source]#
update_selection(event)[source]#