Deletes a plate.

        Parameters
        ----------
        name: str
            name of the plate that should be deleted

        See also
        --------
        :func:`tmserver.api.plate.delete_plate`
        :class:`tmlib.models.plate.Plate`

def delete_plate(self, name):
        '''Deletes a plate.

        Parameters
        ----------
        name: str
            name of the plate that should be deleted

        See also
        --------
        :func:`tmserver.api.plate.delete_plate`
        :class:`tmlib.models.plate.Plate`
        '''
        logger.info(
            'delete plate "%s" of experiment "%s"',
            name, self.experiment_name
        )
        plate_id = self._get_plate_id(name)
        url = self._build_api_url(
            '/experiments/{experiment_id}/plates/{plate_id}'.format(
                experiment_id=self._experiment_id, plate_id=plate_id
            )
        )
        res = self._session.delete(url)
        res.raise_for_status()