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

Method test_title_is_histogram

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

Source from the content-addressed store, hash-verified

924 assert "testpoints [testunits]" == plt.gca().get_xlabel()
925
926 def test_title_is_histogram(self) -> None:
927 self.darray.coords["d"] = 10
928 self.darray.plot.hist() # type: ignore[call-arg]
929 assert "d = 10" == plt.gca().get_title()
930
931 def test_can_pass_in_kwargs(self) -> None:
932 nbins = 5

Callers

nothing calls this directly

Calls 1

histMethod · 0.80

Tested by

no test coverage detected