MCPcopy Index your code
hub / github.com/pydata/xarray / test_scatter

Method test_scatter

xarray/tests/test_plot.py:2974–2980  ·  view source on GitHub ↗
(
        self, x: Hashable, y: Hashable, hue: Hashable, markersize: Hashable
    )

Source from the content-addressed store, hash-verified

2972 [("A", "B", "x", "col"), ("x", "row", "A", "B")],
2973 )
2974 def test_scatter(
2975 self, x: Hashable, y: Hashable, hue: Hashable, markersize: Hashable
2976 ) -> None:
2977 self.ds.plot.scatter(x=x, y=y, hue=hue, markersize=markersize)
2978
2979 with pytest.raises(ValueError, match=r"u, v"):
2980 self.ds.plot.scatter(x=x, y=y, u="col", v="row")
2981
2982 def test_non_numeric_legend(self) -> None:
2983 ds2 = self.ds.copy()

Callers

nothing calls this directly

Calls 1

scatterMethod · 0.45

Tested by

no test coverage detected