Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot see the output html: Shutting down httpd #85

Open
hsluoyz opened this issue Dec 23, 2017 · 0 comments
Open

Cannot see the output html: Shutting down httpd #85

hsluoyz opened this issue Dec 23, 2017 · 0 comments

Comments

@hsluoyz
Copy link

hsluoyz commented Dec 23, 2017

I tried to run the example code:

import d3py
import pandas
import numpy as np

# some test data
T = 100
# this is a data frame with three columns (we only use 2)
df = pandas.DataFrame({
    "time": range(T),
    "pressure": np.random.rand(T),
    "temp": np.random.rand(T)
})
## build up a figure, ggplot2 style
# instantiate the figure object
fig = d3py.PandasFigure(df, name="basic_example", width=300, height=300)
# add some red points
fig += d3py.geoms.Point(x="pressure", y="temp", fill="red")
# writes 3 files, starts up a server, then draws some beautiful points in Chrome
fig.show() 

but failed:

C:\Python27\python.exe J:/github_repos/DeepSep/aaa.py
You can find your chart at http://localhost:8000/basic_example.html
Shutting down httpd

Process finished with exit code 0

Have any ideas? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant