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

Method setUp

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

Source from the content-addressed store, hash-verified

960class TestDetermineCmapParams:
961 @pytest.fixture(autouse=True)
962 def setUp(self) -> None:
963 self.data = np.linspace(0, 1, num=100)
964
965 def test_robust(self) -> None:
966 cmap_params = _determine_cmap_params(self.data, robust=True)

Callers

nothing calls this directly

Calls 1

linspaceMethod · 0.80

Tested by

no test coverage detected