[yt-svn] commit/yt: samskillman: Quick bugfix
Bitbucket
commits-noreply at bitbucket.org
Wed Sep 5 14:42:35 PDT 2012
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/changeset/e5d136902e9c/
changeset: e5d136902e9c
branch: yt
user: samskillman
date: 2012-09-05 23:41:37
summary: Quick bugfix
affected #: 1 file
diff -r 2825fd89deeba490c2d5dfc1c0200ed5493f0a1f -r e5d136902e9c0e72fa86f20a8c10fdb833667ad4 yt/visualization/profile_plotter.py
--- a/yt/visualization/profile_plotter.py
+++ b/yt/visualization/profile_plotter.py
@@ -306,7 +306,7 @@
nz = (self.profile[self._current_field] > 0)
mi = self.profile[self._current_field][nz].min()
else:
- mi = self.profile[self._current_field][nz].min()
+ mi = self.profile[self._current_field].min()
ma = self.profile[self._current_field].max()
cbar.bounds = (mi, ma)
cbar.cmap = 'algae'
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