I am using MPL 1.0.1 with Python 2.6 over Windows XP and it works.
I would like to add an advice: range(n) creates a list of size n, and
stores it in memory. But in your code you are only using one number at
a time. Python has a better instruction: xrange. It works exactly like
range, but doesn't create the list; it will return sequentially every
number without the need of storing all at once.
In this simple program it makes no difference, but when you go bigger, it will.
David.
···
On Sun, Jun 5, 2011 at 3:28 AM, Joe Kington <jkington@...150...> wrote:
Your code should work (and does on my system)...
What backend, version of matplotlib, OS, etc are you running?
On Sat, Jun 4, 2011 at 4:54 PM, Armin G <armin65@...287...> wrote:
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with
vRanger.
Installation's a snap, and flexible recovery options mean your data is
safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net matplotlib-users List Signup and Options
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net matplotlib-users List Signup and Options