@@ -141,46 +141,45 @@ class ListedColormap(Colormap):
141
141
class MultivarColormap :
142
142
name :str
143
143
colormaps :list [Colormap ]
144
- combination_mode :str
145
144
n_variates :int
146
145
def __init__ (self ,name :str ,colormaps :list [Colormap ],combination_mode :str )-> None : ...
147
146
@overload
148
147
def __call__ (
149
- self ,X :Sequence [Sequence [float ]]| np .ndarray ,alpha :ArrayLike | None = ...,bytes :bool = ...
148
+ self ,X :Sequence [Sequence [float ]]| np .ndarray ,alpha :ArrayLike | None = ...,bytes :bool = ..., clip : bool = ...
150
149
)-> np .ndarray : ...
151
150
@overload
152
151
def __call__ (
153
- self ,X :Sequence [float ],alpha :float | None = ...,bytes :bool = ...
152
+ self ,X :Sequence [float ],alpha :float | None = ...,bytes :bool = ..., clip : bool = ...
154
153
)-> tuple [float ,float ,float ,float ]: ...
155
154
@overload
156
155
def __call__ (
157
- self ,X :ArrayLike ,alpha :ArrayLike | None = ...,bytes :bool = ...
156
+ self ,X :ArrayLike ,alpha :ArrayLike | None = ...,bytes :bool = ..., clip : bool = ...
158
157
)-> tuple [float ,float ,float ,float ]| np .ndarray : ...
159
158
def copy (self )-> MultivarColormap : ...
160
159
def __copy__ (self )-> MultivarColormap : ...
161
160
def __getitem__ (self ,item :int )-> Colormap : ...
162
161
def __iter__ (self )-> Colormap : ...
163
162
def __len__ (self )-> int : ...
164
163
def get_bad (self )-> np .ndarray : ...
165
- def resampled (self ,lutsize :Sequence [int | None ])-> MultivarColormap : ...
164
+ def resampled (self ,lutshape :Sequence [int | None ])-> MultivarColormap : ...
166
165
def with_extremes (
167
166
self ,
168
167
* ,
169
168
bad :ColorType | None = ...,
170
169
under :Sequence [ColorType ]| None = ...,
171
170
over :Sequence [ColorType ]| None = ...
172
171
)-> MultivarColormap : ...
172
+ @property
173
+ def combination_mode (self )-> str : ...
173
174
def _repr_html_ (self )-> str : ...
174
175
def _repr_png_ (self )-> bytes : ...
175
176
176
177
class BivarColormap :
177
178
name :str
178
179
N :int
179
180
M :int
180
- shape :str
181
181
n_variates :int
182
- origin :tuple [float ,float ]
183
- def __init__ (self ,name :str ,N :int = ...,M :int | None = ...,shape :str = ...,origin :tuple [float ,float ]= ...
182
+ def __init__ (self ,name :str ,N :int = ...,M :int | None = ...,shape :str = ...,origin :Sequence [float ]= ...
184
183
)-> None : ...
185
184
@overload
186
185
def __call__ (
@@ -196,13 +195,17 @@ class BivarColormap:
196
195
)-> tuple [float ,float ,float ,float ]| np .ndarray : ...
197
196
@property
198
197
def lut (self )-> np .ndarray : ...
198
+ @property
199
+ def shape (self )-> str : ...
200
+ @property
201
+ def origin (self )-> tuple [float ,float ]: ...
199
202
def __copy__ (self )-> BivarColormap : ...
200
203
def __getitem__ (self ,item :int )-> Colormap : ...
201
204
def __eq__ (self ,other )-> bool : ...
202
205
def get_bad (self )-> np .ndarray : ...
203
206
def get_outside (self )-> np .ndarray : ...
204
207
def copy (self )-> BivarColormap : ...
205
- def resampled (self ,lutsize :Sequence [int | None ])-> BivarColormap : ...
208
+ def resampled (self ,lutshape :Sequence [int | None ], transposed : bool = ... )-> BivarColormap : ...
206
209
def transposed (self )-> BivarColormap : ...
207
210
def reversed (self ,axis_0 :bool = True ,axis_1 :bool = True )-> BivarColormap : ...
208
211
def with_extremes (
@@ -211,17 +214,18 @@ class BivarColormap:
211
214
bad :ColorType | None = ...,
212
215
outside :ColorType | None = ...,
213
216
shape :str | None = ...,
217
+ origin :None | Sequence [float ]= ...,
214
218
)-> MultivarColormap : ...
215
219
def _repr_html_ (self )-> str : ...
216
220
def _repr_png_ (self )-> bytes : ...
217
221
218
222
class SegmentedBivarColormap (BivarColormap ):
219
223
def __init__ (
220
- self ,patch :np .ndarray ,name :str ,N :int = ...,shape :str = ...,origin :tuple [ float , float ]= ...
224
+ self ,patch :np .ndarray ,name :str ,N :int = ...,shape :str = ...,origin :Sequence [ float ]= ...
221
225
)-> None : ...
222
226
223
227
class BivarColormapFromImage (BivarColormap ):
224
- def __init__ (self ,lut :np .ndarray ,name :str = ...,shape :str = ...,origin :tuple [ float , float ]= ...
228
+ def __init__ (self ,lut :np .ndarray ,name :str = ...,shape :str = ...,origin :Sequence [ float ]= ...
225
229
)-> None : ...
226
230
227
231
class Normalize :