mailr10806 - /1.3/generic_fns/grace.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on February 22, 2010 - 11:10:
Author: bugman
Date: Mon Feb 22 11:10:18 2010
New Revision: 10806

URL: http://svn.gna.org/viewcvs/relax?rev=10806&view=rev
Log:
Fix for the colour setting in write_xy_header().

The arg is called set_colours, not colours!


Modified:
    1.3/generic_fns/grace.py

Modified: 1.3/generic_fns/grace.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/grace.py?rev=10806&r1=10805&r2=10806&view=diff
==============================================================================
--- 1.3/generic_fns/grace.py (original)
+++ 1.3/generic_fns/grace.py Mon Feb 22 11:10:18 2010
@@ -550,8 +550,8 @@
         file.write("@    s%i symbol linewidth 0.5\n" % i)
 
         # Symbol colour (default to nothing).
-        if colours:
-            file.write("@    s%i symbol color %s\n" % (i, colours[i]))
+        if set_colours:
+            file.write("@    s%i symbol color %s\n" % (i, set_colours[i]))
 
         # Error bars.
         file.write("@    s%i errorbar size 0.5\n" % i)
@@ -563,8 +563,8 @@
             file.write("@    s%i line linestyle %s\n" % (i, linestyle[i]))
 
         # Line colours (default to nothing).
-        if colours:
-            file.write("@    s%i line color %s\n" % (i, colours[i]))
+        if set_colours:
+            file.write("@    s%i line color %s\n" % (i, set_colours[i]))
 
         # Legend.
         if set_names:




Related Messages


Powered by MHonArc, Updated Mon Feb 22 11:20:03 2010