MplPolygonalROI

class glue.core.roi.MplPolygonalROI(axes, roi=None, data_space=True)[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(event)

start_selection(event[, scrubbing])

update_selection(event)

Methods Documentation

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