(self)
| 1550 | assert "a_long_name [a_units]" in text_in_fig() |
| 1551 | |
| 1552 | def test_no_labels(self) -> None: |
| 1553 | self.darray.name = "testvar" |
| 1554 | self.darray.attrs["units"] = "test_units" |
| 1555 | self.plotmethod(add_labels=False) |
| 1556 | alltxt = text_in_fig() |
| 1557 | for string in [ |
| 1558 | "x_long_name [x_units]", |
| 1559 | "y_long_name [y_units]", |
| 1560 | "testvar [test_units]", |
| 1561 | ]: |
| 1562 | assert string not in alltxt |
| 1563 | |
| 1564 | def test_colorbar_kwargs(self) -> None: |
| 1565 | # replace label |
nothing calls this directly
no test coverage detected