Skip to content

Commit f7db270

Browse files
committed
raise NotImplementedError for ManimColor.gradient
1 parent b265091 commit f7db270

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manim/utils/color/core.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,8 @@ def parse(
420420

421421
@staticmethod
422422
def gradient(colors: list[ManimColor], length: int):
423-
...
423+
# TODO: implement proper gradient
424+
raise NotImplementedError
424425

425426
def __repr__(self) -> str:
426427
return f"{self.__class__.__name__}('{self.to_hex()}')"

0 commit comments

Comments
 (0)