Select and Crop Region of the Figure in Python
I wanted to be able to select and crop some region of the figures in python interactively. Here’s some ways that I found quite useful. You could modify the code and adapt to your need.
And superisingly, matplot has the same function of ginput just as in matlab.