Clear the displayed image.
769982
def clear(self):
        """"""
        self._imgobj = None
        try:
            # See if there is an image on the canvas
            self.canvas.delete_object_by_tag(self._canvas_img_tag)
            self.redraw()
        except KeyError:
            pass
9384
public void clear()
    {
        if (LienzoCore.get().getLayerClearMode() == LayerClearMode.CLEAR)
        {
            final Context2D context = getContext();

            if (null != context)
            {
                context.clearRect(0, 0, getWidth(), getHeight());
            }
        }
        else
        {
            setPixelSize(getWidth(), getHeight());
        }
    }
1150263
def clear(self):
        """"""

        if self.default_value is None:
            self.current_value = bytearray()
        else:
            self.current_value = bytearray(self.default_value)
60158
def clearData(self):
        """"""
        self._counts = np.zeros_like(self._bins)
        self.histo.setOpts(height=self._counts)
1178379
def clear(self):
        """"""

        r = self._h._http_resource(
            method='DELETE',
            resource=('user', 'keys'),
        )

        return r.ok
959532
def remove_dot(self):
        
        if os.path.isfile("{0}.dot".format(self.image)):
            os.remove("{0}.dot".format(self.image))
152731
public function clear() {
        $this->header = array();
        $this->cookies = array();
        $this->files = array();
        $this->statusCode = null;
        $this->statusDescription = null;
        $this->output = '';

        if (ob_get_length() > 0) { 
            ob_clean(); 
        }
    }
293933
public void clearImageAttachmentBand() {
		attachments.setVisibility(View.GONE);
		images.clear();
		attachments.setData(null);
	}
828705
def clear_canvas(self):
        """"""
        self.fig = None
        self.fmt = None
        self._qpix_buffer = []
        self.repaint()
567104
def clearText(self, keepFocus=False):
        """"""
        self.text = ''
        self.focus = keepFocus
        self._updateImage()
456501
def clear(self):
        """"""
        for i in range(4):
            while len(self._panels[i]):
                key = sorted(list(self._panels[i].keys()))[0]
                panel = self.remove(key)
                panel.setParent(None)
                panel.deleteLater()
373008
def clear(self):
        """"""
        for menu in self._menus.itervalues():
            self._menu.removeAction(menu.menuAction())
        self._menus = {}
1078114
protected function deleteImageStyle()
    {
        if ($this->canDeleteImageStyle() && $this->image_style->delete($this->data_imagestyle['imagestyle_id'])) {
            $this->image_style->clearCache($this->data_imagestyle['imagestyle_id']);
            $this->redirect('admin/settings/imagestyle', $this->text('Image style has been deleted'), 'success');
        }

        $this->redirect('', $this->text('Image style has not been deleted'), 'warning');
    }
399537
def clear(self):
        """"""
        io_loop = IOLoop.current()
        while self._tombstones:
            _, req_timeout = self._tombstones.popitem()
            io_loop.remove_timeout(req_timeout)
1118786
def clear(self):
        """"""
        layout = self.layout()
        for index in reversed(range(layout.count())):
            item = layout.takeAt(index)
            try:
                item.widget().deleteLater()
            except AttributeError:
                item = None
291442
def clear(self):
    
    self.__init__(size=self.size, alpha=self.alpha, clock=self.clock)
144599
public function deleteImage()
    {
        if ($filename = Setting::where('key_name', 'image')->value('value')) {
            try {
                Croppa::delete('storage/settings/'.$filename);
            } catch (Exception $e) {
                Log::info($e->getMessage());
            }
        }
        Setting::where('key_name', 'image')->delete();
        $this->repository->forgetCache();
    }