MplCircularROI

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

Bases: glue.core.roi.AbstractMplRoi

Class to display / edit circular ROIs using matplotlib

Since circles on the screen may not be circles in the data (due, e.g., to logarithmic scalings on the axes), the ultimate ROI that is created is a polygonal ROI

Parameters

plot_opts – 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)

roi(self)

start_selection(self, event)

update_selection(self, event)

Methods Documentation

finalize_selection(self, event)[source]
roi(self)[source]
start_selection(self, event)[source]
update_selection(self, event)[source]