in pybulletX/gui/control_panel.py [0:0]
def __init__(self, names, lows, highs, init_values):
self.names = names
if not isinstance(lows, collections.abc.Iterable):
lows = [lows for _ in names]
if not isinstance(highs, collections.abc.Iterable):
highs = [highs for _ in names]
self.lows = lows
self.highs = highs
self.sliders = [Slider(*args) for args in zip(names, lows, highs, init_values)]