MCPcopy
hub / github.com/pydata/xarray / test_no_args

Method test_no_args

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

Source from the content-addressed store, hash-verified

2268
2269 @pytest.mark.slow
2270 def test_no_args(self) -> None:
2271 self.g.map_dataarray(xplt.contourf, "x", "y")
2272
2273 # Don't want colorbar labeled with 'None'
2274 alltxt = text_in_fig()
2275 assert "None" not in alltxt
2276
2277 for ax in self.g.axs.flat:
2278 assert ax.has_data()
2279
2280 @pytest.mark.slow
2281 def test_names_appear_somewhere(self) -> None:

Callers

nothing calls this directly

Calls 3

text_in_figFunction · 0.85
map_dataarrayMethod · 0.80
has_dataMethod · 0.80

Tested by

no test coverage detected