[Yt-svn] yt: Forgot to take out lagos references with the new imports.

hg at spacepope.org hg at spacepope.org
Thu Nov 11 07:29:59 PST 2010


hg Repository: yt
details:   yt/rev/6d463b048986
changeset: 3534:6d463b048986
user:      John Wise <jwise at astro.princeton.edu>
date:
Thu Nov 11 16:29:52 2010 +0100
description:
Forgot to take out lagos references with the new imports.

diffstat:

 yt/visualization/eps_writer.py |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 0b749fb862e6 -r 6d463b048986 yt/visualization/eps_writer.py
--- a/yt/visualization/eps_writer.py	Thu Nov 11 16:26:15 2010 +0100
+++ b/yt/visualization/eps_writer.py	Thu Nov 11 16:29:52 2010 +0100
@@ -292,8 +292,8 @@
                 _xlabel = ""
                 _ylabel = ""
             else:
-                _xlabel = '%s (%s)' % (lagos.x_names[plot.data.axis], units)
-                _ylabel = '%s (%s)' % (lagos.y_names[plot.data.axis], units)
+                _xlabel = '%s (%s)' % (x_names[plot.data.axis], units)
+                _ylabel = '%s (%s)' % (y_names[plot.data.axis], units)
             _tickcolor = pyx.color.cmyk.white
         else:
             _xrange = plot._axes.get_xlim()



More information about the yt-svn mailing list