anntzer / mplcursors

Interactive data selection cursors for Matplotlib.
https://mplcursors.readthedocs.io
zlib License
113 stars 19 forks source link

new package based on your library #79

Closed mp-007 closed 3 months ago

mp-007 commented 3 months ago

Hi @anntzer,

thanks for your amazing mplcursors library. I used your code to create a fully interactive figure using kivy+matplotlib and I want to share my work (see video). The interactivity is similar as plotly package but the package is smaller. Useful if you want to create a executable package (i.e exe or apk).

My package link: https://github.com/mp-007/kivy_matplotlib_widget

You can convert any matplotlib figure into kivy interactive graph with only 2 lines in your ipython console

from kivy_matplotlib_widget.tools.interactive_converter import interactive_graph_ipython
interactive_graph_ipython(fig) #fig is your matplotlib figure instance

I know it is not an issue but I didn't know where to post my new package.

example from: https://matplotlib.org/stable/gallery/text_labels_and_annotations/legend.html#sphx-glr-gallery-text-labels-and-annotations-legend-py

https://github.com/anntzer/mplcursors/assets/19823482/83294c96-79fa-47b8-86a3-03c4615676df

anntzer commented 3 months ago

Thanks for letting me know!