From 1b0b9e48f52f58d998bee62269d64a9b98f98502 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Wed, 29 Apr 2020 10:11:04 +0200 Subject: [PATCH] [python] ColorParser: add a TODO --- python/port/port.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/python/port/port.cpp b/python/port/port.cpp index c2ee568f9..0554528fd 100644 --- a/python/port/port.cpp +++ b/python/port/port.cpp @@ -212,6 +212,7 @@ KDColor MicroPython::ColorParser::ParseColor(mp_obj_t input, ColorMode ColorMode } if(color[0] == '#'){ + // TODO handle #abc as #aabbcc (see matplotlib spec) if(l != 7){ mp_raise_ValueError("RGB hex values are 6 bytes long"); }