A Matplotlib interactive widget for kivy
Project description
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
- zoom with 2 fingers or mouse scroll
- pan with 1 finger or mouse left click
- zoom box like plotly library
- reset axis on double-click (home button)
- fast rendering mode (axis not updated for faster draw)
- use only 1 package (matplotlib) and no additional backend
- cursor and hover option (touch or desktop mode)
- legend widget like plotly library
- interactive axis like plotly library
- min/max touch option to easily change axis limit
- autoscale option
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for kivy_matplotlib_widget-0.12.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c15d8701d5d30960c38ec8012322737f2cfaf08437fc1a64349e00ea9aadb420 |
|
MD5 | f2c97881ad0ac8eb1f2458ec90f6d713 |
|
BLAKE2b-256 | 0d425a98b021ff6132a88f2be2766530bec0d57d96378a879099cadebe0ce80a |