Small suggestion for improving pick

Hi,

There have been several times when I've come across conditions where I
want a user to be able to pick from amongst a limited number of objects
on plots containing lots of other objects. Previously I've written my
own functions to do this but it occurs to me that this is likely to be
something others will want to do. To this end I've made a very simple
addition to the Axes.pick method to take a keyword argument test which,
if a callable, is used to filter the objects from which to pick. A
patch to CVS containing the alteration is enclosed.

Nick

patch (771 Bytes)