D3 Viewer for Matplotlib
Low maintenance activity. Last release 13 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install mpld3mpld3: A D3 Viewer for Matplotlib
- Maintainers: @vladh, @cliffckerr
- Status: I (@vladh) am not currently able to dedicate much time to resolving mpld3 issues. However, I will gladly look at your pull request and review it. Please try your hand at fixing any issues you may have and sending a PR rather than just filing an issue — most problems don't take as long as you might expect to figure out!
- Original author: Jake Vanderplas jakevdp@cs.washington.edu
- License: BSD 3-clause
This is an interactive D3js-based viewer which brings matplotlib graphics to the browser. Please visit http://mpld3.github.io for documentation and examples.
You may also see the blog post, or the
IPython notebook examples
available in the notebooks directory of this repository.
About
mpld3 provides a custom stand-alone javascript library built on D3, which parses JSON representations of plots. The mpld3 python module provides a set of routines which parses matplotlib plots (using the mplexporter framework) and outputs the JSON description readable by mpld3.js.
Installation
mpld3 is compatible with python 2.6-2.7 and 3.3-3.4. It requires matplotlib version 2.2.2 and jinja2 version 2.7+.
Optionally, mpld3 can be used with IPython notebook, and requires IPython version 1.x or (preferably) version 2.0+.