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

Method test_plot_rgba_image_transposed

xarray/tests/test_plot.py:2074–2078  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2072 assert 0 == len(find_possible_colorbars())
2073
2074 def test_plot_rgba_image_transposed(self) -> None:
2075 # We can handle the color axis being in any position
2076 DataArray(
2077 easy_array((4, 10, 15), start=0), dims=["band", "y", "x"]
2078 ).plot.imshow()
2079
2080 def test_warns_ambiguous_dim(self) -> None:
2081 arr = DataArray(easy_array((3, 3, 3)), dims=["y", "x", "band"])

Callers

nothing calls this directly

Calls 3

DataArrayClass · 0.90
easy_arrayFunction · 0.85
imshowMethod · 0.80

Tested by

no test coverage detected