For htmlwidget output, toggles legend visibility. For rgl output, draws or removes the legend overlay.
See also
Other brain modifiers:
add_atlas(),
add_glassbrain(),
add_points(),
pan_camera(),
set_background(),
set_dimensions(),
set_edges(),
set_flat_shading(),
set_orthographic(),
set_positioning()