a plottling library for python, based on D3
I am trying to run through the d3py example code available in the d3py readme file (see link below), and am receiving the following error:
https://github.com/mikedewar/d3py/blob/master/README.md
(python 2.7.3 on 32-bit Windows)
>>> # instantiate the figure object
>>> fig = d3py.Figure(df, name="basic_example", width=300, height=300)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build\bdist.win32\egg\d3py\d3py.py", line 97, in __init__
IOError: [Errno 2] No such file or directory: 'static/d3.js'
>>>
I installed the d3py package by using the following command in PowerShell:
easy_install https://github.com/mikedewar/d3py/tarball/master
and, importing the package within a python session (i.e. import d3py
) does not result in any errors. What can I do to make the example code work?
Source: (StackOverflow)