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

Method test_coord_with_interval

xarray/tests/test_plot.py:713–716  ·  view source on GitHub ↗

Test line plot with intervals.

(self)

Source from the content-addressed store, hash-verified

711 d.plot(x="x", y="y", col="columns", ax=plt.gca()) # type: ignore[call-arg]
712
713 def test_coord_with_interval(self) -> None:
714 """Test line plot with intervals."""
715 bins = [-1, 0, 1, 2]
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."""

Callers

nothing calls this directly

Calls 3

plotMethod · 0.80
meanMethod · 0.45
groupby_binsMethod · 0.45

Tested by

no test coverage detected