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

Method test_coord_with_interval_x

xarray/tests/test_plot.py:718–721  ·  view source on GitHub ↗

Test line plot with intervals explicitly on x axis.

(self)

Source from the content-addressed store, hash-verified

716 self.darray.groupby_bins("dim_0", bins).mean(...).plot() # type: ignore[call-arg]
717
718 def test_coord_with_interval_x(self) -> None:
719 """Test line plot with intervals explicitly on x axis."""
720 bins = [-1, 0, 1, 2]
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."""

Callers

nothing calls this directly

Calls 3

plotMethod · 0.80
meanMethod · 0.45
groupby_binsMethod · 0.45

Tested by

no test coverage detected