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

Method test_nonnumeric_index

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

Source from the content-addressed store, hash-verified

790 self.pass_in_axis(self.darray.plot.line)
791
792 def test_nonnumeric_index(self) -> None:
793 a = DataArray([1, 2, 3], {"letter": ["a", "b", "c"]}, dims="letter")
794 a.plot.line()
795
796 def test_primitive_returned(self) -> None:
797 p = self.darray.plot.line()

Callers

nothing calls this directly

Calls 2

DataArrayClass · 0.90
lineMethod · 0.45

Tested by

no test coverage detected