I\'ve generated a network figure and I\'m adding this as an inset to a figure generated in matplotlib.
import networkx as nx import matplotlib.pyplot as plt