[yt-svn] commit/yt: xarthisius: Update docstring, fixes issue #748

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Dec 11 07:17:13 PST 2013


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/e9efef2f6c71/
Changeset:   e9efef2f6c71
Branch:      yt
User:        xarthisius
Date:        2013-12-11 09:37:38
Summary:     Update docstring, fixes issue #748

http://lists.spacepope.org/pipermail/yt-users-spacepope.org/2013-December/004535.html
https://bitbucket.org/yt_analysis/yt/issue/748/
Affected #:  1 file

diff -r be524f912750b192aab75b9e5aacdab3421b2e6c -r e9efef2f6c714e275dec5d01db6794d5ec2767a1 yt/visualization/volume_rendering/transfer_functions.py
--- a/yt/visualization/volume_rendering/transfer_functions.py
+++ b/yt/visualization/volume_rendering/transfer_functions.py
@@ -620,7 +620,7 @@
         --------
 
         >>> tf = ColorTransferFunction( (-10.0, -5.0) )
-        >>> tf.sample_colormap(-7.0, 0.01, 'algae')
+        >>> tf.sample_colormap(-7.0, 0.01, colormap='algae')
         """
         if col_bounds is None:
             rel = (v - self.x_bounds[0])/(self.x_bounds[1] - self.x_bounds[0])

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list