(
self,
add_guide: bool | None,
hue_style: Literal["continuous", "discrete"] | None,
legend: bool,
colorbar: bool,
)
| 2862 | ], |
| 2863 | ) |
| 2864 | def test_add_guide( |
| 2865 | self, |
| 2866 | add_guide: bool | None, |
| 2867 | hue_style: Literal["continuous", "discrete"] | None, |
| 2868 | legend: bool, |
| 2869 | colorbar: bool, |
| 2870 | ) -> None: |
| 2871 | meta_data = _infer_meta_data( |
| 2872 | self.ds, |
| 2873 | x="A", |
| 2874 | y="B", |
| 2875 | hue="hue", |
| 2876 | hue_style=hue_style, |
| 2877 | add_guide=add_guide, |
| 2878 | funcname="scatter", |
| 2879 | ) |
| 2880 | assert meta_data["add_legend"] is legend |
| 2881 | assert meta_data["add_colorbar"] is colorbar |
| 2882 | |
| 2883 | def test_facetgrid_shape(self) -> None: |
| 2884 | g = self.ds.plot.scatter(x="A", y="B", row="row", col="col") |
nothing calls this directly
no test coverage detected