geomappy.integration.rioxarray.da_plot_classified_raster
- geomappy.integration.rioxarray.da_plot_classified_raster(self, *, ax: Axes | None = None, cartopy: bool = True, **kwargs) tuple[AxesImage, Colorbar | Legend | None]
Plot classified raster data from a DataArray using Matplotlib or Cartopy.
- Parameters:
self (
xarray.DataArray) – The DataArray to plot.ax (
Axes, optional) – Axes to plot on. If None, a new figure and axes are created.cartopy (bool, optional) – Whether to use Cartopy. Default is True.
**kwargs – Additional keyword arguments passed to plot_classified_raster.
- Returns: