Hi,
The matplotlib.collections.Collection documentation reads: "All properties in a
collection must be sequences or scalars; if scalars, they will be converted to
sequences. The property of the ith element of the collection is: prop[i %
len(props)]". I had a look at the docstring documentation from ipython, but I
didn't find out how the above is achieved (I am learning Python together with
numpy, matplotlib, etc.). In my own code, how could I do something like this?
If you point to a relevant location on the source code, that's alright. I also
get confused sometimes because of the multiple (and sometimes interchangeable)
ways of specifying arguments: sequences (list, tuples), numpy arrays, etc. I
started using almost exclusively numpy arrays (probably due to my matlab
background), but I am starting to mix a bit of everything now (depending on
what "sources of inspiration" I use), so I wondered what a good guideline would
be.
Thanks,
Jorge
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users