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

Method test_xscale_kwarg

xarray/tests/test_plot.py:3184–3187  ·  view source on GitHub ↗
(self, data_array, xscale)

Source from the content-addressed store, hash-verified

3182
3183 @pytest.mark.parametrize("xscale", ["linear", "logit", "symlog"])
3184 def test_xscale_kwarg(self, data_array, xscale) -> None:
3185 with figure_context():
3186 data_array.plot(xscale=xscale)
3187 assert plt.gca().get_xscale() == xscale
3188
3189 @pytest.mark.parametrize("yscale", ["linear", "logit", "symlog"])
3190 def test_yscale_kwarg(self, data_array, yscale) -> None:

Callers

nothing calls this directly

Calls 2

figure_contextFunction · 0.85
plotMethod · 0.80

Tested by

no test coverage detected