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

Method test_coord_with_interval_y

xarray/tests/test_plot.py:723–726  ·  view source on GitHub ↗

Test line plot with intervals explicitly on y axis.

(self)

Source from the content-addressed store, hash-verified

721 self.darray.groupby_bins("dim_0", bins).mean(...).plot(x="dim_0_bins") # type: ignore[call-arg]
722
723 def test_coord_with_interval_y(self) -> None:
724 """Test line plot with intervals explicitly on y axis."""
725 bins = [-1, 0, 1, 2]
726 self.darray.groupby_bins("dim_0", bins).mean(...).plot(y="dim_0_bins") # type: ignore[call-arg]
727
728 def test_coord_with_interval_xy(self) -> None:
729 """Test line plot with intervals on both x and y axes."""

Callers

nothing calls this directly

Calls 3

plotMethod · 0.80
meanMethod · 0.45
groupby_binsMethod · 0.45

Tested by

no test coverage detected