Rename wrong name for legend parameter in doc