From 0c5457a5f2dfd3b719c8204e7cee819a96a87151 Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Mon, 10 Aug 2020 11:13:57 +0200 Subject: [PATCH] api/parameters/Color: rename PURPLE to VIOLET The correct term for hue = 270 is violet. Purple is just magenta with a lower brightness value. --- pybricks/parameters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pybricks/parameters.py b/pybricks/parameters.py index 35fb737..b5d8dfd 100644 --- a/pybricks/parameters.py +++ b/pybricks/parameters.py @@ -38,7 +38,7 @@ class Color(_PybricksEnum): .. data:: WHITE .. data:: BROWN .. data:: ORANGE - .. data:: PURPLE + .. data:: VIOLET """ BLACK = 1 @@ -49,7 +49,7 @@ class Color(_PybricksEnum): WHITE = 6 BROWN = 7 ORANGE = 8 - PURPLE = 9 + VIOLET = 9 class Port(_PybricksEnum):