I've a NDVI image in tif format, calculated in QGIS. To visualise I used these lines of python code:
from osgeo import gdal
import matplotlib.pyplot as plt
ndvi = gdal.Open("ndvi.tif").ReadAsArray()
image = plt.imshow(ndvi)
plt.colorbar(image)
plt.show()
I'm getting this image. How can improve visualisation, any suggestion?