def remove(self): super(ImageLayerArtist, self).remove() if self.uuid in self.composite: self.composite.deallocate(self.uuid) self.composite_image.invalidate_cache() ARRAY_CACHE.pop(self.state.uuid, None) PIXEL_CACHE.pop(self.state.uuid, None)
def remove(self): super(ImageLayerArtist, self).remove() if self.uuid in self.composite: self.composite.deallocate(self.uuid) self.composite_image.invalidate_cache() ARRAY_CACHE.pop(self.state.uuid, None) PIXEL_CACHE.pop(self.state.uuid, None)
def remove(self): """ Remove the layer artist for good """ self._multivol.deallocate(self.id) ARRAY_CACHE.pop(self.id, None) PIXEL_CACHE.pop(self.id, None)
def remove(self): super(BqplotImageSubsetLayerArtist, self).remove() self.image_artist.invalidate_cache() ARRAY_CACHE.pop(self.state.uuid, None) PIXEL_CACHE.pop(self.state.uuid, None) self.subset_array = None marks = self.view.figure.marks[:] marks.remove(self.image_artist) self.image_artist = None self.view.figure.marks = marks
def update(self, *event): ARRAY_CACHE.pop(self.state.uuid, None) PIXEL_CACHE.pop(self.state.uuid, None) self._update_image(force=True) self.redraw()
def remove(self): super(ImageSubsetLayerArtist, self).remove() self.image_artist.invalidate_cache() ARRAY_CACHE.pop(self.state.uuid, None) PIXEL_CACHE.pop(self.state.uuid, None)
def update(self, *event): ARRAY_CACHE.pop(self.state.uuid, None) PIXEL_CACHE.pop(self.state.uuid, None) self._update_image(force=True) self.redraw()
def remove(self): super(ImageSubsetLayerArtist, self).remove() self.image_artist.invalidate_cache() ARRAY_CACHE.pop(self.state.uuid, None) PIXEL_CACHE.pop(self.state.uuid, None)