Simplify _plot_from_string() by setting 'plot' afterwards
Sort tools and attributes to get consistent help results
Fix computation of repeated tools and do it only once
Rename p to plot in _new_xy_plot()