Revision: 7864
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7864&view=rev
Author: efiring
Date: 2009-10-11 02:51:06 +0000 (Sun, 11 Oct 2009)
Log Message:
-----------
docstring fixup: LinearSegmentedColormap.from_list
Modified Paths:
--------------
branches/v0_99_maint/lib/matplotlib/colors.py
Modified: branches/v0_99_maint/lib/matplotlib/colors.py
===================================================================
--- branches/v0_99_maint/lib/matplotlib/colors.py 2009-10-09 17:38:48 UTC
(rev 7863)
+++ branches/v0_99_maint/lib/matplotlib/colors.py 2009-10-11 02:51:06 UTC
(rev 7864)
@@ -621,6 +621,10 @@
.. seealso::
+ :meth:`LinearSegmentedColormap.from_list`
+ Static method; factory function for generating a
+ smoothly-varying LinearSegmentedColormap.
+
:func:`makeMappingArray`
For information about making a mapping array.
"""
@@ -641,8 +645,8 @@
def from_list(name, colors, N=256):
"""
Make a linear segmented colormap with *name* from a sequence
- of *colors* which evenly transitions from colors[0] at val=1
- to colors[-1] at val=1. N is the number of rgb quantization
+ of *colors* which evenly transitions from colors[0] at val=0
+ to colors[-1] at val=1. *N* is the number of rgb quantization
levels.
"""
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins