def make_end_to_end_distance_plot(nb_segments, end_to_end_distance, neurite_type):
plt.figure()<EOL>plt.plot(nb_segments, end_to_end_distance)<EOL>plt.title(neurite_type)<EOL>plt.xlabel('<STR_LIT>')<EOL>plt.ylabel('<STR_LIT>')<EOL>plt.show()<EOL>
Plot end-to-end distance vs number of segments