Skip to main content

kivy_matplotlib_widget

A fast matplotlib rendering for Kivy based on Kivy_matplotlib project and kivy scatter. Hover option is also based on the algorithm from mplcursors project. Matplotlib used 'agg' backend

Documentation

See documentation here

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 2D 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 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)
  • 3D graph with cursor, figure pan and figure zoom
  • copy figure to clipboard
  • highlight line feature

image

Metadata

Release files for kivy-matplotlib-widget 0.16.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kivy-matplotlib-widget 0.16.0
File Size Uploaded Provenance Actions
kivy_matplotlib_widget-0.16.0.tar.gz 259.0 kB Without provenance Details for kivy_matplotlib_widget-0.16.0.tar.gz

Release files / kivy_matplotlib_widget-0.16.0.tar.gz

Download URL kivy_matplotlib_widget-0.16.0.tar.gz
Size 259.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d9563562b832be82d1b1b0161cde50279c0589d006e4dc36f88c85723122bdaf
BLAKE2b-256 checksum
How to use checksums
58e6ff69d93ed0dd3e3af83873f84938d45c80bda0b22142129045612990d55e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.10

Security for kivy-matplotlib-widget 0.16.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.16.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page