MCPcopy Index your code
hub / github.com/pydata/xarray / contourf

Function contourf

xarray/plot/dataarray_plot.py:2023–2059  ·  view source on GitHub ↗
(  # type: ignore[misc,unused-ignore]  # None is hashable :(
    darray: DataArray,
    x: Hashable | None = None,
    y: Hashable | None = None,
    *,
    figsize: Iterable[float] | None = None,
    size: float | None = None,
    aspect: AspectOptions = None,
    ax: Axes | None = None,
    row: None = None,  # no wrap -> primitive
    col: None = None,  # no wrap -> primitive
    col_wrap: int | Literal["auto"] | None = None,
    xincrease: bool | None = True,
    yincrease: bool | None = True,
    add_colorbar: bool | None = None,
    add_labels: bool = True,
    vmin: float | None = None,
    vmax: float | None = None,
    cmap: str | Colormap | None = None,
    center: float | Literal[False] | None = None,
    robust: bool = False,
    extend: ExtendOptions = None,
    levels: ArrayLike | None = None,
    infer_intervals=None,
    colors: str | ArrayLike | None = None,
    subplot_kws: dict[str, Any] | None = None,
    cbar_ax: Axes | None = None,
    cbar_kwargs: dict[str, Any] | None = None,
    xscale: ScaleOptions = None,
    yscale: ScaleOptions = None,
    xticks: ArrayLike | None = None,
    yticks: ArrayLike | None = None,
    xlim: ArrayLike | None = None,
    ylim: ArrayLike | None = None,
    norm: Normalize | None = None,
    **kwargs: Any,
)

Source from the content-addressed store, hash-verified

2021
2022@overload
2023def contourf( # type: ignore[misc,unused-ignore] # None is hashable :(
2024 darray: DataArray,
2025 x: Hashable | None = None,
2026 y: Hashable | None = None,
2027 *,
2028 figsize: Iterable[float] | None = None,
2029 size: float | None = None,
2030 aspect: AspectOptions = None,
2031 ax: Axes | None = None,
2032 row: None = None, # no wrap -> primitive
2033 col: None = None, # no wrap -> primitive
2034 col_wrap: int | Literal["auto"] | None = None,
2035 xincrease: bool | None = True,
2036 yincrease: bool | None = True,
2037 add_colorbar: bool | None = None,
2038 add_labels: bool = True,
2039 vmin: float | None = None,
2040 vmax: float | None = None,
2041 cmap: str | Colormap | None = None,
2042 center: float | Literal[False] | None = None,
2043 robust: bool = False,
2044 extend: ExtendOptions = None,
2045 levels: ArrayLike | None = None,
2046 infer_intervals=None,
2047 colors: str | ArrayLike | None = None,
2048 subplot_kws: dict[str, Any] | None = None,
2049 cbar_ax: Axes | None = None,
2050 cbar_kwargs: dict[str, Any] | None = None,
2051 xscale: ScaleOptions = None,
2052 yscale: ScaleOptions = None,
2053 xticks: ArrayLike | None = None,
2054 yticks: ArrayLike | None = None,
2055 xlim: ArrayLike | None = None,
2056 ylim: ArrayLike | None = None,
2057 norm: Normalize | None = None,
2058 **kwargs: Any,
2059) -> QuadContourSet: ...
2060
2061
2062@overload

Callers

nothing calls this directly

Calls 1

contourfMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…