(self)
| 918 | self.darray.plot.hist() # type: ignore[call-arg] |
| 919 | |
| 920 | def test_xlabel_uses_name(self) -> None: |
| 921 | self.darray.name = "testpoints" |
| 922 | self.darray.attrs["units"] = "testunits" |
| 923 | self.darray.plot.hist() # type: ignore[call-arg] |
| 924 | assert "testpoints [testunits]" == plt.gca().get_xlabel() |
| 925 | |
| 926 | def test_title_is_histogram(self) -> None: |
| 927 | self.darray.coords["d"] = 10 |