<div dir="ltr">I'd be happy to give it a try once the new toolbar becomes usable from Qt (which is the backend I use all the time) :-)<div>Note that you can currently already activate mplcursors for any of your scripts just by setting the MPLCURSORS environment variable to a JSON-encoded kwargs that will get passed to `mplcursors.cursor()` -- the simplest being `MPLCURSORS={} python foo.py`.</div><div><br></div><div>Antony</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-08-03 11:56 GMT-07:00 Federico Ariza <span dir="ltr"><<a href="mailto:ariza.federico@gmail.com" target="_blank">ariza.federico@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hi</p>
<p dir="ltr">Super cool!</p>
<p dir="ltr">One idea. Why not add a simple tool (new ToolManager) to activate/deactivate the mplcursors at will from the toolbar?<br>
If you need help don't hesitate to contact me<br></p>
<p dir="ltr">If it does adapt well as a Tool we can talk about a PR to add it as a standard tool.<br></p>
<p dir="ltr">Good job<span class="HOEnZb"><font color="#888888"><br>
Federico</font></span></p><div class="HOEnZb"><div class="h5">
<div class="gmail_extra"><br><div class="gmail_quote">On Jul 28, 2016 2:09 PM, "Antony Lee" <<a href="mailto:antony.lee@berkeley.edu" target="_blank">antony.lee@berkeley.edu</a>> wrote:<br type="attribution"><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><div>2016-07-28 9:51 GMT-07:00 Benjamin Root <span dir="ltr"><<a href="mailto:ben.v.root@gmail.com" target="_blank">ben.v.root@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hey, that is pretty slick! I especially like the decorator option to connecting events to the cursor objects.<br></div></div></div></blockquote></div><div>This is a pretty common pattern nowadays, probably could be added to matplotlib's event handling code itself.</div><div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><br></div>Kudos!<br><br></div>Ben Root<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Sun, Jul 24, 2016 at 8:41 PM, Antony Lee <span dir="ltr"><<a href="mailto:antony.lee@berkeley.edu" target="_blank">antony.lee@berkeley.edu</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div>Hi all,</div><div><br></div><div>I have written a new "data cursors for matplotlib" package, inspired from @joferkington's mpldatacursor but rewritten from scratch, with a much simpler API.  Please have a look at <a href="https://github.com/anntzer/mplcursors" target="_blank">https://github.com/anntzer/mplcursors</a> . </div><div><br></div><div>I hope you'll like it.</div><span><font color="#888888"><div><br></div><div>Antony</div></font></span></div>
<br></div></div>_______________________________________________<br>
Matplotlib-devel mailing list<br>
<a href="mailto:Matplotlib-devel@python.org" target="_blank">Matplotlib-devel@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-devel" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-devel</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div><br></div></div>
<br>_______________________________________________<br>
Matplotlib-devel mailing list<br>
<a href="mailto:Matplotlib-devel@python.org" target="_blank">Matplotlib-devel@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-devel" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-devel</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>