MplPolygonalROI

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

Bases: glue.core.roi.AbstractMplRoi

Defines and displays polygonal ROIs on matplotlib plots

Attributes:

plot_opts: Dictionary instance
A dictionary of plot keywords that are passed to the patch representing the ROI. These control the visual properties of the ROI
Parameters:axes – A matplotlib Axes object to attach the graphical ROI to

Methods Summary

finalize_selection(event)
start_selection(event)
update_selection(event)

Methods Documentation

finalize_selection(event)[source]
start_selection(event)[source]
update_selection(event)[source]