(self)
| 337 | assert legend.get_title().get_text() == "dim_1" |
| 338 | |
| 339 | def test_2d_line_accepts_x_kw(self) -> None: |
| 340 | self.darray[:, :, 0].plot.line(x="dim_0") |
| 341 | assert plt.gca().get_xlabel() == "dim_0" |
| 342 | plt.cla() |
| 343 | self.darray[:, :, 0].plot.line(x="dim_1") |
| 344 | assert plt.gca().get_xlabel() == "dim_1" |
| 345 | |
| 346 | def test_2d_line_accepts_hue_kw(self) -> None: |
| 347 | self.darray[:, :, 0].plot.line(hue="dim_0") |