On Tue, Aug 14, 2012 at 10:42 AM, Alejandro
<
alejandro...@gmail.com> wrote:
> Hi:
>
> I found that a plot title (as in plt.title('A title')) only shows in the
> figure if it is call before calling nx.draw(G).
>
> The following code illustrates this:
>
> #############################
> import networkx as nx
> import matplotlib.pyplot as plt
>
> G = nx.cycle_graph(5)
>
> plt.figure()
> nx.draw(G)
> plt.title('A title')
>
> plt.figure()
> plt.title('A title')
> nx.draw(G)
>
> plt.show()
> #############################
>
> Is this the expected behavior?