Skip to content

Duplicated graph heading  #190

@matbun

Description

@matbun

When I set the heading property in the Network class, my graph gets rendered with a double heading.
To reproduce:

from pyvis.network import Network

net = Network(heading="My heading")
net.add_node(1, label="Node 1")  # node id = 1 and label = Node 1
net.add_node(2)  # node id and label = 2
net.show('net.html')

I obtain the following behavior:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions