Skip to content

Instantly share code, notes, and snippets.

@ting11222001
Created June 26, 2020 05:15
Show Gist options
  • Save ting11222001/94b75288531f6733193949010af5845f to your computer and use it in GitHub Desktop.
Save ting11222001/94b75288531f6733193949010af5845f to your computer and use it in GitHub Desktop.
# Interactive selection of points
# store all clicked coordinates here
puntosinteres = []
# Create a new figure: width, height in inches
fig = plt.figure(figsize=(5, 4))
# position figure to 1st row, 1st column, index = 1
ax = fig.add_subplot(111)
# display image: ImagenTotal
ax.imshow(ImagenTotal)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment