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)
=======
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)
Metadata
Release files for plotserver 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| plotserver-0.5.tar.gz | 1.7 kB | Details |
Release files / plotserver-0.5.tar.gz
| Download URL | plotserver-0.5.tar.gz |
|---|---|
| Size | 1.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be8bb2a5d45dee6cb959262fbdd062384b0f21de301bf543b946577885a27391
|
|
BLAKE2b-256 checksum How to use checksums |
c949d6148c053b1e128866cb327c8b59577eeee8a1b489178e15fa61eaec9241
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |