plotserver
Expose your matplotlib figures over http with 1 line of code
Installation
pip install plotserver
Example usage
plotting a pylab environment
import plotserver as pls
import pylab
pylab.plot([1,2,3,4,1,2,3,4])
pylab.xlabel("numbers")
pylab.ylabel("values")
# display plot using webserver at http://0.0.0.0:8080/
pls.show(pylab)
plotting a matplotlib figure
import plotserver as pls
from matplotlib import pyplot
fig = pyplot.figure()
axes = fig.gca()
axes.plot([1,2,3,4,1,2,3,4])
# display plot using webserver at http://127.0.0.1:9999/
pls.show(fig, host="127.0.0.1", port=9999)