add obj param to xyref method to distinguish between legend/annotation object.
set xyref key_type of annotation to plot_info and keep legend xyref key_type as style
pass object name to xyref method
run
add missing white space
run