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

Method test_hist_coord_with_interval

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

Source from the content-addressed store, hash-verified

949 self.darray.plot.hist() # type: ignore[call-arg]
950
951 def test_hist_coord_with_interval(self) -> None:
952 (
953 self.darray.groupby_bins("dim_0", [-1, 0, 1, 2]) # type: ignore[call-arg]
954 .mean(...)
955 .plot.hist(range=(-1, 2))
956 )
957
958
959@requires_matplotlib

Callers

nothing calls this directly

Calls 3

histMethod · 0.80
meanMethod · 0.45
groupby_binsMethod · 0.45

Tested by

no test coverage detected