def METHOD_NAME(self, parameters: ExtrapolationInteractionState):
    """ Update the plots vertical lines based on the position of the slider and/or text box values"""
    lines = self.interactive_lines
    # Set all lines black, then if there is an interactive one, make it grey
    for line, position in zip(lines, [
                              parameters.extrapolation_parameters.point_1,
                              parameters.extrapolation_parameters.point_2,
                              parameters.extrapolation_parameters.point_3,
                              parameters.extrapolation_parameters.data_q_max]):
        line.set_xdata(position)
        line.set_color('k')
    if parameters.working_line_id is not None:
        lines[parameters.working_line_id].set_color([0.4]*3) # grey
    if parameters.dragging_line_position is None:
        self.ghost_line.set_alpha(0)
    else:
        self.ghost_line.set_alpha(0.5)
        self.ghost_line.set_xdata(parameters.dragging_line_position)
    self.draw()