rasterio/plot.py at master · rasterio/rasterio · GitHub
github.com › rasterio › blobIncluding `show()` for displaying an array or with matplotlib. Most can handle a numpy array or `rasterio.Band()`. Primarily supports `$ rio insp`. """ from collections import OrderedDict: from itertools import zip_longest: import logging: import warnings: import numpy as np: import rasterio. _loading: with rasterio. _loading. add_gdal_dll ...
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.