#NEWLINE# def plot_1( data , * args ) : #NEWLINE# #INDENT# 'Plot 1. All iterations (scatter plot)' #NEWLINE# df_all = pd . DataFrame ( data ) #NEWLINE# df_params = nonconstant_parameters ( data ) #NEWLINE# return build_scatter_tooltip ( x = df_all [ 'id' ] , y = args [ 'mean_test_score' ] , tt = df_params , title = 'All Iterations' )