Set the alpha value used for blending - not supported on all backends. Parameters ---------- alpha : float or 2D array-like or None
(self, alpha)
| 314 | return self._A.shape |
| 315 | |
| 316 | def set_alpha(self, alpha): |
| 317 | """ |
| 318 | Set the alpha value used for blending - not supported on all backends. |
| 319 | |
| 320 | Parameters |
| 321 | ---------- |
| 322 | alpha : float or 2D array-like or None |
| 323 | """ |
| 324 | martist.Artist._set_alpha_for_array(self, alpha) |
| 325 | if np.ndim(alpha) not in (0, 2): |
| 326 | raise TypeError('alpha must be a float, two-dimensional ' |
| 327 | 'array, or None') |
| 328 | self._imcache = None |
| 329 | |
| 330 | def _get_scalar_alpha(self): |
| 331 | """ |
no test coverage detected