From 0be229b42e4d1bff57555e9ef5e839c38f92d9f0 Mon Sep 17 00:00:00 2001 From: "P. L. Lim" <2090236+pllim@users.noreply.github.com> Date: Thu, 30 Mar 2023 13:27:15 -0400 Subject: [PATCH] DOC: PolygonPixelRegion has no as_mpl_selector --- docs/shapes.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/shapes.rst b/docs/shapes.rst index 9eb7e64c..7ef42f9f 100644 --- a/docs/shapes.rst +++ b/docs/shapes.rst @@ -281,8 +281,8 @@ to a :class:`~regions.SkyRegion`, call the Selectors for Regions --------------------- -Several geometric regions (at this time, :class:`~regions.RectanglePixelRegion`, -:class:`~regions.EllipsePixelRegion` and :class:`~regions.PolygonPixelRegion`) +Several geometric regions (at this time, :class:`~regions.RectanglePixelRegion` +and :class:`~regions.EllipsePixelRegion`) provide a method :meth:`~regions.RectanglePixelRegion.as_mpl_selector` to create an interactive editable matplotlib widget that will be connected to its parent region. @@ -318,7 +318,7 @@ manipulation of this widget, with the following operations available: Via the optional ``callback`` parameter this method can be passed a custom function that will be called on every update of the region, -i.e. after every move or resize of the selector. +i.e., after every move or resize of the selector. For an example of its usage see :ref:`Interactive Mask Control`.