I want my code to create a plot with a title. With the code below the plot gets created but no title. Can someone clue me in on what I am doing wrong?
import pandas as pd
import networkx as nx
from networkx.algorithms import community
import matplotlib.pyplot as plt
from datetime import datetime
...
G = nx.from_pandas_edgelist((df), 'AXIS1', 'AXIS2');
nx.draw(G,with_labels=True)
plt.title('TITLE')
plt.axis('off')
plt.savefig('test.png');
