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

Method setup_array

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

Source from the content-addressed store, hash-verified

181class TestPlot(PlotTestCase):
182 @pytest.fixture(autouse=True)
183 def setup_array(self) -> None:
184 self.darray = DataArray(easy_array((2, 3, 4)))
185
186 def test_accessor(self) -> None:
187 from xarray.plot.accessor import DataArrayPlotAccessor

Callers

nothing calls this directly

Calls 2

DataArrayClass · 0.90
easy_arrayFunction · 0.85

Tested by

no test coverage detected