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

Method test_yscale_kwarg

xarray/tests/test_plot.py:3190–3193  ·  view source on GitHub ↗
(self, data_array, yscale)

Source from the content-addressed store, hash-verified

3188
3189 @pytest.mark.parametrize("yscale", ["linear", "logit", "symlog"])
3190 def test_yscale_kwarg(self, data_array, yscale) -> None:
3191 with figure_context():
3192 data_array.plot(yscale=yscale)
3193 assert plt.gca().get_yscale() == yscale
3194
3195 def test_xscale_log_kwarg(self, data_array_logspaced) -> None:
3196 xscale = "log"

Callers

nothing calls this directly

Calls 2

figure_contextFunction · 0.85
plotMethod · 0.80

Tested by

no test coverage detected