MplPolygonalROI#

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

Bases: AbstractMplRoi

Matplotlib ROI for polygon selections

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

finalize_selection(event)

start_selection(event[, scrubbing])

update_selection(event)

Methods Documentation

finalize_selection(event)[source]#
start_selection(event, scrubbing=False)[source]#
update_selection(event)[source]#