'Remove a box from the dashboard by its box_id.
Example:
import plotly.dashboard_objs as dashboard
box_1 = {
\'type\': \'box\',
\'boxType\': \'plot\',
\'fileId\': \'username:some#\',
\'title\': \'box 1\'
my_dboard = dashboard.Dashboard()
my_dboard.insert(box_1)
my_dboard.remove(1)
my_dboard.get_preview()'

def remove(self, box_id):

    box_ids_to_path = self._compute_box_ids()
    if (box_id not in box_ids_to_path):
        raise exceptions.PlotlyError(ID_NOT_VALID_MESSAGE)
    path = box_ids_to_path[box_id]
    if (path != ('first',)):
        container_for_box_id = self._path_to_box(path[:(-1)])
        if (path[(-1)] == 'first'):
            adjacent_path = 'second'
        elif (path[(-1)] == 'second'):
            adjacent_path = 'first'
        adjacent_box = container_for_box_id[adjacent_path]
        self._insert(adjacent_box, path[:(-1)])
    else:
        self['layout'] = None
    self._set_container_sizes()
