xarray.plot.FacetGrid.map_dataarray
xarray.plot.FacetGrid.map_dataarray¶
-
FacetGrid.
map_dataarray
(func, x, y, **kwargs)[source]¶ Apply a plotting function to a 2d facet’s subset of the data.
This is more convenient and less general than
FacetGrid.map
- Parameters
func (
callable()
) – A plotting function with the same signature as a 2d xarray plotting method such as xarray.plot.imshowx, y (
string
) – Names of the coordinates to plot on x, y axes**kwargs – additional keyword arguments to func
- Returns
self (
FacetGrid object
)