def set_host(self, host):
        if host[-1] == '/':
            host = host[:-1]

        self.host = host
        return self
Updates the geometry of the line.
dataset/ETHPy150Open lightning-viz/lightning-python/lightning/main.py/Lightning.set_host--crossover with--dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/wx/wx_group_box.py/wxGroupBox._update_line_geometry