[yt-svn] commit/yt: xarthisius: Merged in ngoldbaum/yt (pull request #2524)
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Wed Feb 22 13:15:51 PST 2017
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/60c93dbd7e84/
Changeset: 60c93dbd7e84
Branch: yt
User: xarthisius
Date: 2017-02-22 21:15:43+00:00
Summary: Merged in ngoldbaum/yt (pull request #2524)
fix syntax error in units_override example
Approved-by: Kacper Kowalik
Affected #: 1 file
diff -r abf5a8eff1b2d0cd776a41a33e5d3f3d25232ecc -r 60c93dbd7e84ff58f702b6978f91ee0a07ead14a doc/source/examining/loading_data.rst
--- a/doc/source/examining/loading_data.rst
+++ b/doc/source/examining/loading_data.rst
@@ -151,9 +151,9 @@
import yt
- units_override = {"length_unit":(1.0,"Mpc"),
- "time_unit"(1.0,"Myr"),
- "mass_unit":(1.0e14,"Msun")}
+ units_override = {"length_unit": (1.0, "Mpc"),
+ "time_unit": (1.0, "Myr"),
+ "mass_unit": (1.0e14, "Msun")}
ds = yt.load("id0/cluster_merger.0250.vtk", units_override=units_override)
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