Skip to content

Commit

Permalink
Merge pull request mikedewar#74 from widdowquinn/master
Browse files Browse the repository at this point in the history
Fixed host arguments in NetworkXFigure
  • Loading branch information
mikedewar committed Jan 26, 2014
2 parents 4e92a90 + 0a62c7f commit c3d26e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions d3py/networkx_figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
class NetworkXFigure(Figure):
def __init__(self, graph, name="figure", width=400, height=100,
interactive=True, font="Asap", logging=False, template=None,
port=8000, **kwargs):
host="localhost", port=8000, **kwargs):
"""
data : networkx gprah
networkx graph used for the plot.
Expand Down Expand Up @@ -36,7 +36,7 @@ def __init__(self, graph, name="figure", width=400, height=100,
super(NetworkXFigure, self).__init__(
name=name, width=width, height=height,
interactive=interactive, font=font, logging=logging, template=template,
port=port, **kwargs
host=host, port=port, **kwargs
)
# store data
self.G = graph
Expand Down

0 comments on commit c3d26e6

Please sign in to comment.