<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def callback_checkbox(attr, old, new):
    '''Update visible data from parameters selectin in the CheckboxSelect'''
    import numpy

    for i in range(len(lines)):
        lines[i].visible = i in param_checkbox.active
        scats[i].visible = i in param_checkbox.active

    return None