I am not sure how exactly you want to do this but let me know whether this is what you want. User can change the array and unfocus from the input box to update.
@interact
def int_plot(str1 = input_box('[[1,2],[3,5],[4,2]]',type = str, label='array 1: ')):
array1=eval(str1)
scatter_plot(array1).show()

↧