Skip to content

About

Convert matplotlib figures to interactive Plotly figures

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

266 Commits

Folders and files

Repository files navigation

matplotlylib

Convert matplotlib figures to Plotly figures.

Quickstart

pip install matplotlylib
import matplotlib.pyplot as plt
from matplotlylib import mpl_to_plotly

fig, ax = plt.subplots()
ax.plot([0, 1], [0, 1])

plotly_fig = mpl_to_plotly(fig)
plotly_fig.show()

Development

pip install -e ".[dev]"
python -m pytest

To publish a release, follow the steps in RELEASE.md.

The renderer is built on the vendored mplexporter framework (BSD-3-Clause), originally part of the mpld3 project. See matplotlylib/mplexporter/LICENSE for its license.

About

Convert matplotlib figures to interactive Plotly figures

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages