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 "tes.py", line 21, in <module>
    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 !

Cheers,

-- 
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
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to