Skip to content

Instantly share code, notes, and snippets.

@munthe
munthe / nwxpython.py
Last active January 30, 2025 17:49 — forked from shobhit/nwxpython.py
Put Images as Nodes using Networkx and Python
import networkx as nx
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
import glob
from numpy import sqrt
import glob
path = ''
files = [f for f in glob.glob(path + "*.jpg")]
img = []