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

Function test_get_axis_cartopy

xarray/tests/test_plot.py:3345–3351  ·  view source on GitHub ↗
(
    figsize: tuple[float, float] | None, size: float | None, aspect: float | None
)

Source from the content-addressed store, hash-verified

3343 ],
3344)
3345def test_get_axis_cartopy(
3346 figsize: tuple[float, float] | None, size: float | None, aspect: float | None
3347) -> None:
3348 kwargs = {"projection": cartopy.crs.PlateCarree()}
3349 with figure_context():
3350 out_ax = get_axis(figsize=figsize, size=size, aspect=aspect, **kwargs)
3351 assert isinstance(out_ax, cartopy.mpl.geoaxes.GeoAxesSubplot)
3352
3353
3354@requires_matplotlib

Callers

nothing calls this directly

Calls 2

get_axisFunction · 0.90
figure_contextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…