Вот ваш код с несколькими заполненными битами:
import networkx as nx
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline
#%matplotlib notebook
matrix=np.array([[1, 0, 0], [0, 1, 0], [0, 0,1]])
f = plt.figure(figsize=(5, 4))
a = f.add_subplot(111)
plt.axis('off')
G = nx.from_numpy_matrix(matrix)
pos = nx.circular_layout(G)
nx.draw_networkx(G, pos=pos, ax=a)
Возвращает:

Который я предполагаюэто то, что вы после.