[yt-svn] commit/yt: MatthewTurk: Quick units fix

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Aug 3 06:56:40 PDT 2016


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/7e06e0dc0816/
Changeset:   7e06e0dc0816
Branch:      yt
User:        MatthewTurk
Date:        2016-08-02 18:52:15+00:00
Summary:     Quick units fix
Affected #:  1 file

diff -r 2c73913367acd93482a88841daebdd6cece35d2c -r 7e06e0dc0816ef58d976a90f496d7019f89f997d doc/source/visualizing/streamlines.rst
--- a/doc/source/visualizing/streamlines.rst
+++ b/doc/source/visualizing/streamlines.rst
@@ -118,7 +118,7 @@
     from yt.visualization.api import Streamlines
 
     ds = yt.load('DD1701') # Load ds
-    streamlines = Streamlines(ds, [0.5]*3)
+    streamlines = Streamlines(ds, ds.domain_center)
     streamlines.integrate_through_volume()
     stream = streamlines.path(0)
     matplotlib.pylab.semilogy(stream['t'], stream['density'], '-x')

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