[ Web Proxy ]
URL:
Viewing: https://matplotlib.org/devdocs/api/toolkits/../_as_gen/matplotlib.widgets.ToolHandles.html [Back]  [Original]

matplotlib.widgets.ToolHandles — Matplotlib 3.12.0.dev738+ge3fc0dad9 documentation
Back to top
Search the docs ...:

matplotlib.widgets.ToolHandles#

class matplotlib.widgets.ToolHandles(ax, x, y, *, marker='o', marker_props=None, useblit=True)[source]#

Control handles for canvas tools.

Parameters:
axAxes

Matplotlib Axes where tool handles are displayed.

x, y1D arrays

Coordinates of control handles.

markerstr, default: 'o'

Shape of marker used to display handle. See plot.

marker_propsdict, optional

Additional marker properties. See Line2D.

useblitbool, default: True

Whether to use blitting for faster drawing (if supported by the backend). See the tutorial Faster rendering by using blitting for details.

__init__(ax, x, y, *, marker='o', marker_props=None, useblit=True)[source]#

Methods

__init__(ax,x,y,*[,marker,...])

closest(x,y)

Return index and pixel distance to closest index.

set_animated(val)

set_data(pts[,y])

Set x and y positions of handles.

set_visible(val)

Attributes

property artists#
closest(x, y)[source]#

Return index and pixel distance to closest index.

set_animated(val)[source]#
set_data(pts, y=None)[source]#

Set x and y positions of handles.

set_visible(val)[source]#
property x#
property y#

Web Proxy Viewer  |  New URL  |  Original Page