Skip to content

Introduction

Kivy matplotlib widget is a fast matplotlib rendering for Kivy based on Kivy_matplotlib project github.com/jeysonmc/kivy_matplotlib and kivy scatter. Hover option is also based on the algorithm from mplcursors project. Matplotlib used 'agg' backend

intro

My goal with my project, it's to create a good interactive graph with the lowest dependencies and package size (kivy+matplotlib).

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 2 packages (kivy + matplotlib) and no additional backend
  • matplotlib cursor and kivy 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
  • several selectors widget (rectangle, lasso, ellipse and span)

Note

Note that this project is different from kivy-garden matploltib. I have create this project because I was not able to create a good interactive graph with big data with the garden library.