You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importd3pyimportpandasimportnumpyasnp# some test dataT=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 objectfig=d3py.PandasFigure(df, name="basic_example", width=300, height=300)
# add some red pointsfig+=d3py.geoms.Point(x="pressure", y="temp", fill="red")
# writes 3 files, starts up a server, then draws some beautiful points in Chromefig.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.
The text was updated successfully, but these errors were encountered:
I tried to run the example code:
but failed:
Have any ideas? Thanks.
The text was updated successfully, but these errors were encountered: