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

Method test_can_pass_in_kwargs

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

Source from the content-addressed store, hash-verified

929 assert "d = 10" == plt.gca().get_title()
930
931 def test_can_pass_in_kwargs(self) -> None:
932 nbins = 5
933 self.darray.plot.hist(bins=nbins) # type: ignore[call-arg]
934 assert nbins == len(plt.gca().patches)
935
936 def test_can_pass_in_axis(self) -> None:
937 self.pass_in_axis(self.darray.plot.hist)

Callers

nothing calls this directly

Calls 1

histMethod · 0.80

Tested by

no test coverage detected