matplotlib/matplotlib — pull request #2979 by jbmohler (2014-04-14 17:48:14+00:00)
Title: add 'buttons' parameter in LassoSelector and SpanSelector

It seems to me that the RectangleSelector, LassoSelector and SpanSelector are similar and could expose a more similar API. This PR moves in this direction by adding a 'buttons' parameter in LassoSelector and SpanSelector with semantics identical to the RectangleSelector.

The purpose of this PR is to request feedback on the philosophy of the design and the changes. Currently, I think the changes here don't maintain the backwards compatibility quite as much as it could. Further actions in this philosophy would be default the line and rect styles in a consistent way for all of them.