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

Function pcolormesh

xarray/plot/dataarray_plot.py:2156–2192  ·  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

2154
2155@overload
2156def pcolormesh( # type: ignore[misc,unused-ignore] # None is hashable :(
2157 darray: DataArray,
2158 x: Hashable | None = None,
2159 y: Hashable | None = None,
2160 *,
2161 figsize: Iterable[float] | None = None,
2162 size: float | None = None,
2163 aspect: AspectOptions = None,
2164 ax: Axes | None = None,
2165 row: None = None, # no wrap -> primitive
2166 col: None = None, # no wrap -> primitive
2167 col_wrap: int | Literal["auto"] | None = None,
2168 xincrease: bool | None = True,
2169 yincrease: bool | None = True,
2170 add_colorbar: bool | None = None,
2171 add_labels: bool = True,
2172 vmin: float | None = None,
2173 vmax: float | None = None,
2174 cmap: str | Colormap | None = None,
2175 center: float | Literal[False] | None = None,
2176 robust: bool = False,
2177 extend: ExtendOptions = None,
2178 levels: ArrayLike | None = None,
2179 infer_intervals=None,
2180 colors: str | ArrayLike | None = None,
2181 subplot_kws: dict[str, Any] | None = None,
2182 cbar_ax: Axes | None = None,
2183 cbar_kwargs: dict[str, Any] | None = None,
2184 xscale: ScaleOptions = None,
2185 yscale: ScaleOptions = None,
2186 xticks: ArrayLike | None = None,
2187 yticks: ArrayLike | None = None,
2188 xlim: ArrayLike | None = None,
2189 ylim: ArrayLike | None = None,
2190 norm: Normalize | None = None,
2191 **kwargs: Any,
2192) -> QuadMesh: ...
2193
2194
2195@overload

Callers

nothing calls this directly

Calls 3

_infer_interval_breaksFunction · 0.90
pcolormeshMethod · 0.80
shapeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…