[yt-svn] commit/yt: ngoldbaum: Fixing a typo in the particle filter docs

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu Sep 10 10:59:17 PDT 2015


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/ad96b8c8f330/
Changeset:   ad96b8c8f330
Branch:      yt
User:        ngoldbaum
Date:        2015-09-10 15:49:48+00:00
Summary:     Fixing a typo in the particle filter docs
Affected #:  1 file

diff -r 47da0c1a0142b30d6ff793f84090761fca977f67 -r ad96b8c8f330750d9457710381e859419bb89a5b doc/source/analyzing/filtering.rst
--- a/doc/source/analyzing/filtering.rst
+++ b/doc/source/analyzing/filtering.rst
@@ -111,7 +111,7 @@
 
 .. code-block:: python
 
-    @yt.particle_filter(requires=["particle_type], filtered_type='all')
+    @yt.particle_filter(requires=["particle_type"], filtered_type='all')
     def stars(pfilter, data):
         filter = data[(pfilter.filtered_type, "particle_type")] == 2
         return filter

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