Skip to content

Commit

Permalink
corrected readme to use PandasFigures
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedewar committed Dec 27, 2012
1 parent 0d8efba commit 424c643
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ An example session could like:
})
## build up a figure, ggplot2 style
# instantiate the figure object
fig = d3py.Figure(df, name="basic_example", width=300, height=300)
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()
fig.show()

0 comments on commit 424c643

Please sign in to comment.