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

Method test_empty_cell

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

Source from the content-addressed store, hash-verified

2328
2329 @pytest.mark.slow
2330 def test_empty_cell(self) -> None:
2331 g = xplt.FacetGrid(self.darray, col="z", col_wrap=2)
2332 g.map_dataarray(xplt.imshow, "x", "y")
2333
2334 bottomright = g.axs[-1, -1]
2335 assert not bottomright.has_data()
2336 assert not bottomright.get_visible()
2337
2338 @pytest.mark.slow
2339 def test_norow_nocol_error(self) -> None:

Callers

nothing calls this directly

Calls 2

map_dataarrayMethod · 0.95
has_dataMethod · 0.80

Tested by

no test coverage detected