Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Commit

Permalink
docs: Fix a few typos (#111)
Browse files Browse the repository at this point in the history
There are small typos in:
- colormath/color_appearance_models.py
- colormath/color_objects.py

Fixes:
- Should read `output` rather than `ouput`.
- Should read `between` rather than `beteween`.
  • Loading branch information
timgates42 authored Aug 17, 2021
1 parent 6cb12bf commit 4a07683
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion colormath/color_appearance_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ def __init__(self, x, y, z, x_n, y_n, z_n, y_n_abs, sigma, d):
# dimension separately. First figure out how many values we have to
# deal with.
input_dim = len(x)
# No create the ouput array that we will fill layer by layer
# No create the output array that we will fill layer by layer
xyz_ref = numpy.zeros((3, input_dim))
for layer in range(input_dim):
a = numpy.diag(lms_a[..., layer])
Expand Down
2 changes: 1 addition & 1 deletion colormath/color_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ def __init__(self, rgb_r, rgb_g, rgb_b, is_upscaled=False):
:param float rgb_g: G coordinate. 0.0-1.0, or 0-255 if is_upscaled=True.
:param float rgb_b: B coordinate. 0.0-1.0, or 0-255 if is_upscaled=True.
:keyword bool is_upscaled: If False, RGB coordinate values are
beteween 0.0 and 1.0. If True, RGB values are between 0 and 255.
between 0.0 and 1.0. If True, RGB values are between 0 and 255.
"""
super(BaseRGBColor, self).__init__()
if is_upscaled:
Expand Down

0 comments on commit 4a07683

Please sign in to comment.