Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b8416d6 + db8abc2 commit 008e327Copy full SHA for 008e327
1 file changed
lib/matplotlib/colors.pyi
@@ -124,7 +124,7 @@ class LinearSegmentedColormap(Colormap):
124
def set_gamma(self, gamma: float) -> None: ...
125
@staticmethod
126
def from_list(
127
- name: str, colors: ArrayLike, N: int = ..., gamma: float = ...
+ name: str, colors: ArrayLike | Sequence[tuple[float, ColorType]], N: int = ..., gamma: float = ...
128
) -> LinearSegmentedColormap: ...
129
def resampled(self, lutsize: int) -> LinearSegmentedColormap: ...
130
def reversed(self, name: str | None = ...) -> LinearSegmentedColormap: ...
0 commit comments