I want to display an color composite image from my image collection:
listOfImages = dataset_fxm.toList(dataset_fxm.size())
firstImage = ee.Image(listOfImages.get(0))
Map.addLayer(firstImage,{band:['B5','B4','B3']},"patan")
But the following error is showing up: name 'band' is not defined
.
And I have also used 'bands' for defining the bands, but still the same error.
I am running the task on jupyter notebook python API GEE.