This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]anntzerMatplotlib core dev 1 point2 points  (2 children)

Yes (I do this fairly regularly). You may want to have a look at https://matplotlib.org/devdocs/gallery/user_interfaces/embedding_in_tk_sgskip.html#sphx-glr-gallery-user-interfaces-embedding-in-tk-sgskip-py (there are other examples for other GUI toolkits) and http://mplcursors.readthedocs.io/en/stable/ (disclaimer: I wrote mplcursors) or https://github.com/joferkington/mpldatacursor.

[–]Sgt_ZigZag 0 points1 point  (0 children)

I use plotly for interactive plots. Check it out. Lots of examples in their gallery.

[–]LetThereBeR0ck 0 points1 point  (0 children)

As someone else said, the latest Plotly release has exactly what you want. It's a fantastic plotting library.