diehlj / html-plotter-py

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

html-plotter

A quick hack to make matplotlib plot onto disk, with img-references added to a html-file.

Example usage:

import html_plotter
from matplotlib import pyplot as plt
plt.plot( range(1,10), [x**2 for x in range(1,10)] )
html_plotter.show( plt )
# => plot viewable in= /tmp/matplotlib/index.html

Installation

Install with:

pip install git+https://github.com/diehlj/html-plotter-py

Copyright © 2019 Joscha Diehl

Distributed under the Eclipse Public License.

About


Languages

Language:Python 100.0%