Skip to content

Commit

Permalink
Merge pull request #9 from spektom/patch-1
Browse files Browse the repository at this point in the history
Fix IFrame width and height mixed up
  • Loading branch information
boludo00 committed May 19, 2018
2 parents 261c4a9 + 2c452bd commit 109c46d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyvis/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ def write_html(self, name, notebook=False):
out.write(self.html)

if notebook:
return IFrame(name, self.height, self.width)
return IFrame(name, width=self.width, height=self.height)

def show(self, name):
"""
Expand Down

0 comments on commit 109c46d

Please sign in to comment.