[Matplotlib-devel] feature request

Antony Lee antony.lee at berkeley.edu
Fri Sep 29 17:35:27 EDT 2017


Hi,
You may also want to look at mplcursors's hover mode (
https://mplcursors.readthedocs.io/en/latest/examples/hover.html#sphx-glr-examples-hover-py
).
Antony

2017-09-29 14:24 GMT-07:00 Jody Klymak <jklymak at uvic.ca>:

> Hi Rogier,
>
> You can already do this by writing a format_coord function and setting
> ax.format_coord property of the axis with your data in it.
>
> http://matplotlib.org/examples/api/image_zcoord.html
>
> Cheers, Jody
>
> On 29 Sep 2017, at 6:57, Rogier Delporte wrote:
>
> Dear maintainer(s)
> Dear developpers
>
> I would like to request a new matplotlib feature. The current version of
> matplotlib shows the coordinates of the cursor in the bottom right corner.
> It would be great if some option or mode could be added which snaps the
> cursor to data points. This would take some guesswork out of reading a plot
> with a lot of points.
>
> I know this feature is similar to the mpldatacursor toolkit, but
> mpldatacursor does not provide a smooth and fast way to pinpoint a data
> point.
>
> I hope someone would like to implement this feature, because I don't have
> sufficient programming skills to implement this myself.
>
> Thanks for the awesomeness that is matplotlib!
>
> Rogier
> _______________________________________________
> Matplotlib-devel mailing list
> Matplotlib-devel at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-devel
>
>
> _______________________________________________
> Matplotlib-devel mailing list
> Matplotlib-devel at python.org
> https://mail.python.org/mailman/listinfo/matplotlib-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-devel/attachments/20170929/36bae775/attachment.html>


More information about the Matplotlib-devel mailing list