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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue May 21 11:59:14 PDT 2013


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/b26315767b7d/
Changeset:   b26315767b7d
Branch:      yt
User:        David Collins
Date:        2013-05-21 19:14:08
Summary:     ClumpContourCallback: chaning the contour list to be drawn directly from the clump image.
Affected #:  1 file

diff -r 3198255d44ea4b3e41f25deeb8ef2b85677e563c -r b26315767b7d67236343e140f0c1486c52535419 yt/visualization/plot_modifications.py
--- a/yt/visualization/plot_modifications.py
+++ b/yt/visualization/plot_modifications.py
@@ -694,7 +694,7 @@
                                  int(nx), int(ny),
                              (x0, x1, y0, y1), 0).transpose()
             buff = np.maximum(temp, buff)
-        self.rv = plot._axes.contour(buff, len(self.clumps)+1,
+        self.rv = plot._axes.contour(buff, np.unique(buff),
                                      extent=extent,**self.plot_args)
         plot._axes.hold(False)
 


https://bitbucket.org/yt_analysis/yt/commits/49b7b6f20d70/
Changeset:   49b7b6f20d70
Branch:      yt
User:        MatthewTurk
Date:        2013-05-21 20:59:08
Summary:     Merged in dcollins4096/yt (pull request #507)

ClumpContourCallback: chaning the contour list to be drawn directly from the clump image.
Affected #:  1 file

diff -r ff04cead07c8458eb61da8f49fb7e9fb7b652d10 -r 49b7b6f20d70ffaaf0d0c5e33fac2d63cc7eb489 yt/visualization/plot_modifications.py
--- a/yt/visualization/plot_modifications.py
+++ b/yt/visualization/plot_modifications.py
@@ -694,7 +694,7 @@
                                  int(nx), int(ny),
                              (x0, x1, y0, y1), 0).transpose()
             buff = np.maximum(temp, buff)
-        self.rv = plot._axes.contour(buff, len(self.clumps)+1,
+        self.rv = plot._axes.contour(buff, np.unique(buff),
                                      extent=extent,**self.plot_args)
         plot._axes.hold(False)

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