toggle_legend works now