[yt-svn] commit/yt: MatthewTurk: Merged in MatthewTurk/yt/yt-3.0 (pull request #1052)

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue Jul 22 13:28:22 PDT 2014


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/f7f16f1a8e05/
Changeset:   f7f16f1a8e05
Branch:      yt-3.0
User:        MatthewTurk
Date:        2014-07-22 22:27:49
Summary:     Merged in MatthewTurk/yt/yt-3.0 (pull request #1052)

Fix import errors in mapserver.
Affected #:  1 file

diff -r ac01f1ab68ae88206b603ff8a220a09077218415 -r f7f16f1a8e05b03faa91c8ba436b6d378af5bd60 yt/gui/reason/pannable_map.py
--- a/yt/gui/reason/pannable_map.py
+++ b/yt/gui/reason/pannable_map.py
@@ -19,7 +19,7 @@
 
 from yt.visualization.image_writer import apply_colormap
 from yt.visualization.fixed_resolution import FixedResolutionBuffer
-from yt.utilities.lib import get_color_bounds
+from yt.utilities.lib.misc_utilities import get_color_bounds
 from yt.utilities.png_writer import write_png_to_string
 
 import yt.extern.bottle as bottle
@@ -82,7 +82,7 @@
                                     self.ds.domain_right_edge[1],
                                     dd*DW[0] / (64*256),
                                     dd*DW[0])
-        if self.ds.field_info[self.field].take_log:
+        if self.ds._get_field_info(self.field).take_log:
             cmi = np.log10(cmi)
             cma = np.log10(cma)
             to_plot = apply_colormap(np.log10(frb[self.field]), color_bounds = (cmi, cma))

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