MCPcopy
hub / github.com/pydata/xarray / test_add_guide

Method test_add_guide

xarray/tests/test_plot.py:2756–2767  ·  view source on GitHub ↗
(self, add_guide, hue_style, legend, colorbar)

Source from the content-addressed store, hash-verified

2754 ],
2755 )
2756 def test_add_guide(self, add_guide, hue_style, legend, colorbar) -> None:
2757 meta_data = _infer_meta_data(
2758 self.ds,
2759 x="x",
2760 y="y",
2761 hue="mag",
2762 hue_style=hue_style,
2763 add_guide=add_guide,
2764 funcname="quiver",
2765 )
2766 assert meta_data["add_legend"] is legend
2767 assert meta_data["add_colorbar"] is colorbar
2768
2769
2770@requires_matplotlib

Callers

nothing calls this directly

Calls 1

_infer_meta_dataFunction · 0.85

Tested by

no test coverage detected