We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ee8a74 commit 77f6919Copy full SHA for 77f6919
1 file changed
lib/matplotlib/typing.py
@@ -19,7 +19,7 @@
19
# The following are type aliases. Once python 3.9 is dropped, they should be annotated
20
# using ``typing.TypeAlias`` and Unions should be converted to using ``|`` syntax.
21
22
-RGBColorType = Union[tuple[float, float, float], tuple[float, float, float, float], str]
+RGBColorType = Union[tuple[float, float, float], str]
23
RGBAColorType = Union[
24
str, # "none" or "#RRGGBBAA"/"#RGBA" hex strings
25
tuple[float, float, float, float],
0 commit comments