mp-007 / kivy_matplotlib_widget

A fast matplotlib rendering for Kivy based on Kivy_matplotlib project and kivy scatter. Matplotlib used 'agg' backend
MIT License
33 stars 6 forks source link
interactive kivy matplotlib

kivy_matplotlib_widget

A fast matplotlib rendering for Kivy based on Kivy_matplotlib project (https://github.com/jeysonmc/kivy_matplotlib) and kivy scatter. Hover option is also based on the algorithm from mplcursors project (https://github.com/anntzer/mplcursors). Matplotlib used 'agg' backend

How to use

install with pip install (just import module in your header to register all the widgets in your kivy Factory: import kivy_matplotlib_widget)

pip install kivy-matplotlib-widget

You can also copy the needed widget in project

See examples for more informations

Available tool

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

See interactive_converter folder in the examples for more details.

key features

image