| 2940 | self.ds.plot.scatter("A", "B") |
| 2941 | |
| 2942 | def test_datetime_hue(self) -> None: |
| 2943 | ds2 = self.ds.copy() |
| 2944 | |
| 2945 | # TODO: Currently plots as categorical, should it behave as numerical? |
| 2946 | ds2["hue"] = pd.date_range("2000-1-1", periods=4) |
| 2947 | ds2.plot.scatter(x="A", y="B", hue="hue") |
| 2948 | |
| 2949 | ds2["hue"] = pd.timedelta_range("-1D", periods=4, freq="D", unit="ns") # type: ignore[call-arg,unused-ignore] |
| 2950 | ds2.plot.scatter(x="A", y="B", hue="hue") |
| 2951 | |
| 2952 | def test_facetgrid_hue_style(self) -> None: |
| 2953 | ds2 = self.ds.copy() |