[Yt-svn] commit/yt: MatthewTurk: More fixes to isolated plotter.

Bitbucket commits-noreply at bitbucket.org
Fri Jun 3 14:05:59 PDT 2011


1 new changeset in yt:

http://bitbucket.org/yt_analysis/yt/changeset/782db853a4ff/
changeset:   782db853a4ff
branches:    
user:        MatthewTurk
date:        2011-06-03 23:05:54
summary:     More fixes to isolated plotter.
affected #:  1 file (55 bytes)

--- a/yt/visualization/profile_plotter.py	Fri Jun 03 13:32:49 2011 -0700
+++ b/yt/visualization/profile_plotter.py	Fri Jun 03 14:05:54 2011 -0700
@@ -88,10 +88,12 @@
         if self.x_spec.scale == 'log' and \
            self.y_spec.scale == 'log':
             func = axes.loglog
-        elif self.x_spec == 'log':
+        elif self.x_spec.scale == 'log':
             func = axes.semilogx
-        elif self.y_spec == 'log':
+        elif self.y_spec.scale == 'log':
             func = axes.semilogy
+        else:
+            func = axes.plot
         if self.plot_spec is None:
             kwargs = {}
         else:

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