Skip to content

Commit

Permalink
Merge pull request #70 from WilsonHChung/master
Browse files Browse the repository at this point in the history
Fix #69: Show no heading output on graph if not specified
  • Loading branch information
Giancarlo Perrone committed Aug 12, 2020
2 parents 280d91a + c511940 commit b49d43e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyvis/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self,
bgcolor="#ffffff",
font_color=False,
layout=None,
heading=None):
heading=""):
"""
:param height: The height of the canvas
:param width: The width of the canvas
Expand Down
2 changes: 1 addition & 1 deletion pyvis/templates/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ <h1>{{heading}}</h1>
{% endif %}

network = new vis.Network(container, data, options);

{% if tooltip_link %}
// make a custom popup
var popup = document.createElement("div");
Expand Down

0 comments on commit b49d43e

Please sign in to comment.