Browse code

Fix British spelling of "colour"

Peter Hill authored on 02/07/2016 15:58:34 • Jose Fonseca committed on 10/07/2016 08:40:15
Showing 3 changed files

... ...
@@ -18,7 +18,7 @@ import sys
18 18
 
19 19
 from .lexer import ParseError, DotLexer
20 20
 
21
-from ..ui.colours import lookup_color
21
+from ..ui.colors import lookup_color
22 22
 from ..ui.pen import Pen
23 23
 from ..ui import elements
24 24
 
... ...
@@ -1,3 +1,3 @@
1
-__all__ = ['actions', 'animation', 'colours', 'elements', 'pen', 'window']
1
+__all__ = ['actions', 'animation', 'colors', 'elements', 'pen', 'window']
2 2
 
3 3
 from .window import DotWidget, DotWindow
4 4
similarity index 99%
5 5
rename from xdot/ui/colours.py
6 6
rename to xdot/ui/colors.py
... ...
@@ -306,9 +306,9 @@ brewer_colors = {
306 306
 
307 307
 
308 308
 def lookup_color(c):
309
-    """Return RGBA values of colour c
309
+    """Return RGBA values of color c
310 310
 
311
-    c should be either an X11 colour or a brewer colour set and index
311
+    c should be either an X11 color or a brewer color set and index
312 312
     e.g. "navajowhite", "greens3/2"
313 313
 
314 314
     """