salem
stable
Examples
Frequently Asked Questions
What’s New
Installation
Xarray accessors
Graphics
WRF tools
Map transformations
Recipes
API reference
Grid
Georeferencing utils
Graphics
salem.DataLevels
salem.Map
salem.get_cmap
Map & DataLevels methods
Map methods
salem.Map.set_data
salem.Map.set_contour
salem.Map.set_contourf
salem.Map.set_geometry
salem.Map.set_lonlat_contours
salem.Map.set_points
salem.Map.set_rgb
salem.Map.set_shapefile
salem.Map.set_text
salem.Map.set_topography
salem.Map.set_scale_bar
salem.Map.transform
salem.Map.visualize
salem.Map.plot
Input/output
xarray
Old-style datasets
Other
salem
API reference
salem.Map.set_contourf
Edit on GitHub
salem.Map.set_contourf
Map.
set_contourf
(
data
=
None
,
crs
=
None
,
interp
=
'nearest'
,
**
kwargs
)
[source]
Adds data to contourfill on the map.
Parameters
:
mask: bool array (2d)
crs: the data coordinate reference system
interp: ‘nearest’ (default) or ‘linear’, the interpolation algorithm
kwargs: anything accepted by contourf