Basic network plotting#

This example shows how to plot a simple graph with iplotx.

plot basic
[<iplotx.network.NetworkArtist object at 0x7af3e8e130e0>]

import igraph as ig
import matplotlib.pyplot as plt
import iplotx as ipx

g = ig.Graph.Ring(5)
layout = g.layout("circle").coords
fig, ax = plt.subplots(figsize=(3, 3))
ipx.plot(g, ax=ax, layout=layout)

Total running time of the script: (0 minutes 0.208 seconds)

Gallery generated by Sphinx-Gallery