MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / ginput

Function ginput

lib/matplotlib/pyplot.py:2944–2959  ·  view source on GitHub ↗
(
    n: int = 1,
    timeout: float = 30,
    show_clicks: bool = True,
    mouse_add: MouseButton = MouseButton.LEFT,
    mouse_pop: MouseButton = MouseButton.RIGHT,
    mouse_stop: MouseButton = MouseButton.MIDDLE,
)

Source from the content-addressed store, hash-verified

2942# Autogenerated by boilerplate.py. Do not edit as changes will be lost.
2943@_copy_docstring_and_deprecators(Figure.ginput)
2944def ginput(
2945 n: int = 1,
2946 timeout: float = 30,
2947 show_clicks: bool = True,
2948 mouse_add: MouseButton = MouseButton.LEFT,
2949 mouse_pop: MouseButton = MouseButton.RIGHT,
2950 mouse_stop: MouseButton = MouseButton.MIDDLE,
2951) -> list[tuple[int, int]]:
2952 return gcf().ginput(
2953 n=n,
2954 timeout=timeout,
2955 show_clicks=show_clicks,
2956 mouse_add=mouse_add,
2957 mouse_pop=mouse_pop,
2958 mouse_stop=mouse_stop,
2959 )
2960
2961
2962# Autogenerated by boilerplate.py. Do not edit as changes will be lost.

Callers

nothing calls this directly

Calls 2

gcfFunction · 0.85
ginputMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…