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
  • axes – A matplotlib Axes object to attach the graphical ROI to

Methods Summary

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

Methods Documentation

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