MplPolygonalROI

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

Bases: glue.core.roi.AbstractMplRoi

Matplotlib ROI for polygon selections

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

finalize_selection(self, event)

start_selection(self, event[, scrubbing])

update_selection(self, event)

Methods Documentation

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