[yt-svn] commit/yt: MatthewTurk: Inserting field_check calls to get field names right.
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Fri Dec 20 05:41:02 PST 2013
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/8249a2890da5/
Changeset: 8249a2890da5
Branch: yt-3.0
User: MatthewTurk
Date: 2013-12-20 14:40:44
Summary: Inserting field_check calls to get field names right.
Affected #: 1 file
diff -r e6ec5beff85ab551ea9347155b71efc076c87ab4 -r 8249a2890da54d3677a3c472598f59f282415a64 yt/visualization/plot_container.py
--- a/yt/visualization/plot_container.py
+++ b/yt/visualization/plot_container.py
@@ -146,7 +146,7 @@
fields = self.plots.keys()
else:
fields = [field]
- for field in fields:
+ for field in self._field_check(fields):
if self._field_transform[field] == log_transform:
log[field] = True
else:
@@ -179,7 +179,7 @@
fields = self.plots.keys()
else:
fields = [field]
- for field in fields:
+ for field in self._field_check(fields):
self._colorbar_valid = False
self._colormaps[field] = cmap_name
return self
@@ -214,7 +214,7 @@
fields = self.plots.keys()
else:
fields = [field]
- for field in fields:
+ for field in self._field_check(fields):
myzmin = zmin
myzmax = zmax
if zmin == 'min':
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