[yt-svn] commit/yt: 2 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue Jul 29 16:28:53 PDT 2014


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/0a3884399a51/
Changeset:   0a3884399a51
Branch:      yt-3.0
User:        mzingale
Date:        2014-07-30 01:10:23
Summary:     the default behavior of SlicePlot is very non-intuitive for a
non-cosmologist.  Add a note about origin="native", since this
will likely give the results people expect.
Affected #:  1 file

diff -r 7c48d6ce789dc757299cb21c86f6cfe40b04dc18 -r 0a3884399a51b1fcdf520a1bb35cd0a6b962cd89 doc/source/cookbook/simple_plots.rst
--- a/doc/source/cookbook/simple_plots.rst
+++ b/doc/source/cookbook/simple_plots.rst
@@ -12,6 +12,12 @@
 
 .. yt_cookbook:: simple_slice.py
 
+Note that, by default,
+:class:`~yt.visualization.plot_window.SlicePlot` shifts the
+coordinates on the axes such that the origin is at the center of the
+slice.  To instead use the coordinates as defined in the dataset, use
+the optional argument: ``origin="native"``
+
 Simple Projections
 ~~~~~~~~~~~~~~~~~~
 


https://bitbucket.org/yt_analysis/yt/commits/bbb8f5c9d0db/
Changeset:   bbb8f5c9d0db
Branch:      yt-3.0
User:        ngoldbaum
Date:        2014-07-30 01:28:46
Summary:     Merged in mzingale/yt/yt-3.0 (pull request #1097)

add a note to the slice plot recipe
Affected #:  1 file

diff -r 8504cc41cbf5504f4a42f174e07b110f1c8de76c -r bbb8f5c9d0dbb55028974f270d1b078ae1cd2355 doc/source/cookbook/simple_plots.rst
--- a/doc/source/cookbook/simple_plots.rst
+++ b/doc/source/cookbook/simple_plots.rst
@@ -12,6 +12,12 @@
 
 .. yt_cookbook:: simple_slice.py
 
+Note that, by default,
+:class:`~yt.visualization.plot_window.SlicePlot` shifts the
+coordinates on the axes such that the origin is at the center of the
+slice.  To instead use the coordinates as defined in the dataset, use
+the optional argument: ``origin="native"``
+
 Simple Projections
 ~~~~~~~~~~~~~~~~~~

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