Blocking call to interact with the figure. This will wait for *n* clicks from the user and return a list of the coordinates of each click. If *timeout* is negative, does not timeout.
(*args, **kwargs)
| 693 | |
| 694 | @docstring.copy_dedent(Figure.ginput) |
| 695 | def ginput(*args, **kwargs): |
| 696 | """ |
| 697 | Blocking call to interact with the figure. |
| 698 | |
| 699 | This will wait for *n* clicks from the user and return a list of the |
| 700 | coordinates of each click. |
| 701 | |
| 702 | If *timeout* is negative, does not timeout. |
| 703 | """ |
| 704 | return gcf().ginput(*args, **kwargs) |
| 705 | |
| 706 | |
| 707 | @docstring.copy_dedent(Figure.waitforbuttonpress) |