AbstractMplRoi

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

Bases: object

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

Parameters
axes~matplotlib.axes.Axes

The Matplotlib axes to draw to.

roi~glue.core.roi.Roi, optional

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

Methods Summary

abort_selection(self, event)

active(self)

finalize_selection(self, event)

reset(self[, include_roi])

roi(self)

start_selection(self, event)

update_selection(self, event)

Methods Documentation

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