I am trying to run the following code:
from osgeo import gdal
import sys
# This allows GDAL to throw Python exceptions
src_ds = gdal.Open("fused.tif")
src_ds.show()
But I receive the following error:
Traceback (most recent call last):
File ".../gdalopen1.py", line 5, in module src_ds.show()
AttributeError: 'Dataset' object has no attribute 'show'
Why does this happen?