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

Function line

xarray/plot/dataarray_plot.py:322–345  ·  view source on GitHub ↗
(  # type: ignore[misc,unused-ignore]  # None is hashable :(
    darray: DataArray,
    *args: Any,
    row: None = None,  # no wrap -> primitive
    col: None = None,  # no wrap -> primitive
    figsize: Iterable[float] | None = None,
    aspect: AspectOptions = None,
    size: float | None = None,
    ax: Axes | None = None,
    hue: Hashable | None = None,
    x: Hashable | None = None,
    y: Hashable | None = None,
    xincrease: bool | None = None,
    yincrease: bool | None = None,
    xscale: ScaleOptions = None,
    yscale: ScaleOptions = None,
    xticks: ArrayLike | None = None,
    yticks: ArrayLike | None = None,
    xlim: tuple[float, float] | None = None,
    ylim: tuple[float, float] | None = None,
    add_legend: bool = True,
    _labels: bool = True,
    **kwargs: Any,
)

Source from the content-addressed store, hash-verified

320
321@overload
322def line( # type: ignore[misc,unused-ignore] # None is hashable :(
323 darray: DataArray,
324 *args: Any,
325 row: None = None, # no wrap -> primitive
326 col: None = None, # no wrap -> primitive
327 figsize: Iterable[float] | None = None,
328 aspect: AspectOptions = None,
329 size: float | None = None,
330 ax: Axes | None = None,
331 hue: Hashable | None = None,
332 x: Hashable | None = None,
333 y: Hashable | None = None,
334 xincrease: bool | None = None,
335 yincrease: bool | None = None,
336 xscale: ScaleOptions = None,
337 yscale: ScaleOptions = None,
338 xticks: ArrayLike | None = None,
339 yticks: ArrayLike | None = None,
340 xlim: tuple[float, float] | None = None,
341 ylim: tuple[float, float] | None = None,
342 add_legend: bool = True,
343 _labels: bool = True,
344 **kwargs: Any,
345) -> list[Line3D]: ...
346
347
348@overload

Callers 1

stepFunction · 0.85

Calls 13

_easy_facetgridFunction · 0.90
get_axisFunction · 0.90
label_from_attrsFunction · 0.90
_ensure_plottableFunction · 0.90
_set_concise_dateFunction · 0.90
_update_axesFunction · 0.90
_infer_line_dataFunction · 0.85
plotMethod · 0.80
_title_for_sliceMethod · 0.80
copyMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…