On Mon, Jul 14, 2008 at 9:49 AM, Ben Axelrod <[EMAIL PROTECTED]> wrote: > The RectangleSelector has parameters for the min span in the x and y > directions of the rectangle. The units of these are the axes units. It > would be nice if there was an additional similar min size requirement, but > in units of pixels. This way it would be independent of the axes scale.
Good idea -- I added this to svn r5769. Here is some example usage: LS = RectangleSelector(current_ax, line_select_callback, drawtype='box',useblit=True, minspanx=5,minspany=5,spancoords='pixels') ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users