Skip to main content

matplotlib-like plot functions for dygraphs.js.

Project description

dyplot
======
matplotlib-like plot functions for dygraphs.js. See dygraphs.com for detail.
If no html_file is provided, then no html file will be generated.
You can go to http://store-demo.appspot.com/temp.html to see the output of
the short example.
https://github.com/blacksburg98/dyplot
The series needs to be pandas.Series
Short Example
=====
import pandas as pd
from dyplot.dyplot import Dyplot
a = pd.Series([1,2,3,4,5,6,7,9,10])
b = pd.Series([1,3,5,9,2,8,5,5,15])
lc= pd.Series([1,3,4,5,6,7,9,3,2])
c = pd.Series([2,4,5,7,8,8,9,4,3])
hc= pd.Series([3,5,7,7,9,11,9,5,8])
dg = Dyplot(a.index, "index")
dg.plot(name="a", mseries=a)
dg.plot(name="b", mseries=b)
dg.plot(name="c", mseries=c,lseries=lc, hseries=hc)
dg.set_options(title="Test")
div = dg.savefig(html_file="tutorial1.html", csv_file="tutorial1.csv")

Project details


Download files

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

Source Distribution

dyplot-0.0.001.zip (5.1 kB view hashes)

Uploaded Source

Built Distributions

dyplot-0.0.001.win-amd64.exe (228.8 kB view hashes)

Uploaded Source

dyplot-0.0.001-py2.7.egg (6.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page