cmap is a colors.Colormap instance norm is a colors.Normalize instance to map luminance to 0-1 kwargs are an optional list of Artist keyword args
(self, fig,
*,
cmap=None,
norm=None,
colorizer=None,
offsetx=0,
offsety=0,
origin=None,
**kwargs
)
| 1349 | _interpolation = 'nearest' |
| 1350 | |
| 1351 | def __init__(self, fig, |
| 1352 | *, |
| 1353 | cmap=None, |
| 1354 | norm=None, |
| 1355 | colorizer=None, |
| 1356 | offsetx=0, |
| 1357 | offsety=0, |
| 1358 | origin=None, |
| 1359 | **kwargs |
| 1360 | ): |
| 1361 | """ |
| 1362 | cmap is a colors.Colormap instance |
| 1363 | norm is a colors.Normalize instance to map luminance to 0-1 |
| 1364 | |
| 1365 | kwargs are an optional list of Artist keyword args |
| 1366 | """ |
| 1367 | super().__init__( |
| 1368 | None, |
| 1369 | norm=norm, |
| 1370 | cmap=cmap, |
| 1371 | colorizer=colorizer, |
| 1372 | origin=origin |
| 1373 | ) |
| 1374 | self.set_figure(fig) |
| 1375 | self.ox = offsetx |
| 1376 | self.oy = offsety |
| 1377 | self._internal_update(kwargs) |
| 1378 | self.magnification = 1.0 |
| 1379 | |
| 1380 | def get_extent(self): |
| 1381 | """Return the image extent as tuple (left, right, bottom, top).""" |
nothing calls this directly
no test coverage detected