Skip to content

IsraelBorges/ginput_notebook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

ginput_notebook

Wait until the user clicks n times on the figure, and return the coordinates of each click in an array. Notebook. Python.

With the problem that the "ginput()" function is not available for the jupyter notebook, i tried to make a function for this purpose. Here the .ipynb file obtained.

It is necessary have installed the libraries numpy, Tkinter and PIL.


Espere hasta que el usuario haga clic n veces en la figura, luego regrese las coordenadas de cada click en un arreglo. Notebook. Python.

Con el problema de que la función "ginput()" no está disponible en jupyter notebook, intenté hacer una función para este propósito. Aquí el archivo .ipynb obtenido.

Es necesario tener instaladas las bibliotecas numpy, Tkinter and PIL.

About

Wait until the user clicks n times on the figure, and return the coordinates of each click in an array. Notebook. Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors