Fixed plot_contacts example