Using matplotlib subplots and gt.graph_draw's mplfig, graph is drawn modified before it is modified by code?

When you call graph_draw() with the mplfig parameter, the drawing is not performed immediately, but only later when the figure is generated. What actually happens is that a graph artist gets included in the figure, but the drawing of that artist is only called at a later stage. If you modify the graph in the meantime, the drawing will reflect the modified graph, not the original one.