Plotting — rasterio documentation
rasterio.readthedocs.io › en › latestRasterio also provides rasterio.plot.show () to perform common tasks such as displaying multi-band images as RGB and labeling the axes with proper geo-referenced extents. The first argument to show () represent the data source to be plotted. This can be one of. A numpy ndarray, 2D or 3D. If the array is 3D, ensure that it is in rasterio band order.