NetworkX

The hvPlot NetworkX plotting API is meant as a drop-in replacement for the networkx.draw methods. In most cases the existing code will work as is or with minor modifications, returning a HoloViews object rendering an interactive bokeh plot, equivalent to the matplotlib plot the standard API constructs. First let us import the plotting interface and give it the canonical name hvnx :

In [1]:
import hvplot.networkx as hvnx

import numpy as np
import networkx as nx
import holoviews as hv