On Thu, Jul 28, 2011 at 8:44 PM, Joseph Costlow <joseph.costlow@gmail.com> wrote:
This is a small omission, and I think most people would figure it out, but I thought it might be worth mentioning:

Page: http://matplotlib.sourceforge.net/users/pyplot_tutorial.html#working-with-multiple-figures-and-axes

The code example, both on the page, and the link is missing:




Actually, all of the examples (on that page) seem to be missing plt.show().  But, in defense of what is currently there, they are also missing the import calls as well.  Presumedly, one could assume that interactive mode was on, but this isn't given, either.

I am torn on this one.  On one hand, there is something to be said for simplicity and focusing only on the relevant part of the code.  On the other hand, explicit code examples would reduce ambiguity.

What do others think?

Ben Root