I was using python 2, using customJS and bokeh to update the x_axis of a plot which was working fine with the following code:
button_multi = RadioButtonGroup(