Commits (1)
......@@ -6586,11 +6586,11 @@ class FiniteWord_class(Word_class):
def colored_vector(self, x=0, y=0, width='default', height=1, cmap='hsv', thickness=1, label=None):
r"""
Return a vector (Graphics object) illustrating ``self``. Each letter
is represented by a coloured rectangle.
is represented by a colored rectangle.
If the parent of ``self`` is a class of words over a finite alphabet,
then each letter in the alphabet is assigned a unique colour, and
this colour will be the same every time this method is called. This
then each letter in the alphabet is assigned a unique color, and
this color will be the same every time this method is called. This
is especially useful when plotting and comparing words defined on
the same alphabet.
......
......@@ -1923,7 +1923,7 @@ class BraidGroup_class(FinitelyPresentedGroup):
newforest.remove(tree) # Cut down the original tree
# Add two greater trees, admissibly. We need to check two
# things to ensure that the tree will eventually define a
# basis elements: that its 'colour' is not too large, and
# basis elements: that its 'color' is not too large, and
# that it is positive.
if tree[-1] < treesize - len(tree) + 1:
newtreeup.append(tree[-1] + 1)
......
......@@ -684,7 +684,7 @@ def K33dual():
The matroid `M*(K_{3, 3})` is a 9-element matroid of rank-4.
It is an excluded minor for the class of graphic matroids.
It is the graft matroid of the 4-wheel with every vertex except the hub
being coloured. See [Oxl2011]_, p. 652.
being colored. See [Oxl2011]_, p. 652.
EXAMPLES::
......@@ -1032,7 +1032,7 @@ def R10():
The matroid `R_{10}` is a 10-element regular matroid of rank-5.
It is the unique splitter for the class of regular matroids.
It is the graft matroid of `K_{3, 3}` in which every vertex is coloured.
It is the graft matroid of `K_{3, 3}` in which every vertex is colored.
See [Oxl2011]_, p. 656.
EXAMPLES::
......
......@@ -838,7 +838,7 @@ class Color(object):
def __int__(self):
"""
Return the integer representation of this colour.
Return the integer representation of this color.
OUTPUT:
......
......@@ -76,11 +76,11 @@ class Image(SageObject):
- ``size`` -- 2-tuple, containing (width, height) in pixels.
- ``color`` -- string or tuple of numeric. What colour to use
- ``color`` -- string or tuple of numeric. What color to use
for the image. Default is black. If given, this should be a
a tuple with one value per band. When creating RGB images,
you can also use colour strings as supported by the
ImageColor module. If the colour is None, the image is not
you can also use color strings as supported by the
ImageColor module. If the color is None, the image is not
initialised.
OUTPUT:
......
......@@ -2881,7 +2881,7 @@ class EllipticCurve_number_field(EllipticCurve_field):
sage: G = C.graph()
sage: G.show(edge_labels=False) # long time
It is possible to display a 3-dimensional plot, with colours
It is possible to display a 3-dimensional plot, with colors
to represent the different edge labels, in a form which can be
rotated!::
......