recipes in the docs

A small suggestion to the examples …

I really like the new subplot mechanism, so I tried it:

fig, (ax1, ax2, ax3, ax4) = plt.subplots(2, 2, sharex=True, sharey=True)

And it actually gave me the following error:
Traceback (most recent call last):
File “”, line 21, in
f, (ax1, ax2, ax3, ax4) = subplots(2, 2, sharey=True)

ValueError: need more than 2 values to unpack

I got over with with a small modification:
f, ((ax1,ax2),(ax3,ax4)) = subplots(2, 2, sharey=True)

Which now worked !



Oz Nahum
Graduate Student
Zentrum für Angewandte Geologie
Universität Tübingen

Imagine there’s no countries
it isn’t hard to do
Nothing to kill or die for
And no religion too

Imagine all the people
Living life in peace