[Matplotlib-users] Embed LassoSelector and Quiver
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!
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
> More precise, I want to make a mask using LassoSelector selection.
> View this message in context:
> Sent from the matplotlib - users mailing list archive at Nabble.com.
> Matplotlib-users mailing list
> Matplotlib-users at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Matplotlib-users