matplotlib/matplotlib — pull request #658 by agardelein (2012-01-05 22:06:45+00:00)
Title: RectangleSelector: Handle case when button is still pressed when mouse is not in the axis

For the user, it is more convenient to have the RectangleSelector still responsive when not in the axis. However the selection is limited to the axis boundaries.