MplPolygonalROI

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