I have two images which I want to do the following using python 3.6
1- plot both images side by side 2- click on one image and output the corresponding pixel coordinates 3- click on the second image and get the corresponding pixel coordinates
note: this question is different because it has to work on two images by finding the axis the click event is happening.
I think the best way is to have a function that identifies which axis i am clicking on and gets the clicked coordinates. I couldn't find much of a resources for two images, mostly what I found is on one image.