On Thu, Jul 28, 2011 at 8:44 PM, Joseph Costlow <joseph.cost...@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:
>
> plt.show()
>
> Best,
>
> Joe
>
>
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
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users