type: boolean
default: true

If true, webweb will display a legend describing how nodes are colored and sized.

showing:

from webweb import Web

# Instantiate webweb object
web = Web([[0, 1], [0, 2], [0, 3], [0, 4], [0, 5]])

# size and color by degree
web.display.sizeBy = 'degree'
web.display.colorBy = 'degree'

# hide webweb's legend (it defaults to being shown)
web.display.showLegend = False

# show the visualization
web.show()
{
    "display": {
        "colorBy": "degree",
        "showLegend": false,
        "sizeBy": "degree"
    },
    "networks": {
        "webweb": {
            "layers": [
                {
                    "edgeList": [
                        [
                            0,
                            1
                        ],
                        [
                            0,
                            2
                        ],
                        [
                            0,
                            3
                        ],
                        [
                            0,
                            4
                        ],
                        [
                            0,
                            5
                        ]
                    ],
                    "metadata": null,
                    "nodes": {}
                }
            ]
        }
    },
    "title": "webweb"
}