(self, data=None)
| 123 | super(ComplexImageVisual, type(self)).clim.fset(self, clim) |
| 124 | |
| 125 | def _calc_complex_clim(self, data=None): |
| 126 | # it would be nice if this could be done in the scalable texture mixin, |
| 127 | # but that would require the mixin knowing about the complex mode. |
| 128 | func = CPU_COMPLEX_TRANSFORMS[self.complex_mode] |
| 129 | _rendered = func(self._data if data is None else data) |
| 130 | return (_rendered.min(), _rendered.max()) |