Limits the movement of widgets to axes boundary
Limits the movement of widgets to axes boundary

Limits the movement of the rectangle and line widget so they stay all
the time withing the axes boundary.

SirJohnFranklin/TraitsMatplotlibWidget,kingkarlaachen/TraitsMatplotlibWidget