This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Expose matplotlib figures over http

Project Description
plotserver
=======

Expose your matplotlib figures over http with 1 line of code


Installation
------------

.. code-block:: shell

pip install plotserver


Example usage
-------------


plotting a pylab environment

.. code-block:: python

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

.. code-block:: python

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)
Release History

Release History

This version
History Node

0.5

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
plotserver-0.5.tar.gz (1.7 kB) Copy SHA256 Checksum SHA256 Source Jan 2, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting