[Matplotlib-users] Embed LassoSelector and Quiver

Benjamin Root ben.v.root at gmail.com
Tue Dec 1 12:38:36 EST 2015

That's a bit tricky, but not impossible. Essentially, you can't really
interact directly with the quiver object (at least, I don't think you can),
but you can have a function that would remake the quiver using a masked
version of the original input data. The mask would be created by finding
out which points are outside the given lasso. Then you would have to remove
the original quiver object (or set it to not be visible), and create a new
quiver object in its place.

I don't have much spare time to write up any psuedo-code to explain this
further, but I hope my description sets you on the right path. If you can
get it to work, it might make a fine addition to our examples gallery!

Ben Root

On Sat, Nov 7, 2015 at 11:53 AM, Hypnus1803 <hypnus1803 at gmail.com> wrote:

> Hello everyone, I want to know if  I could embed LassoSelector function
> with
> Quiver.
> More precise, I want to make a mask using LassoSelector selection.
> Thanks.
> --
> View this message in context:
> http://matplotlib.1069221.n5.nabble.com/Embed-LassoSelector-and-Quiver-tp46403.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20151201/b6260cd4/attachment.html>

More information about the Matplotlib-users mailing list