added an apparently necessary period to legend doc comment