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

Method test_yincrease_kwarg

xarray/tests/test_plot.py:3178–3181  ·  view source on GitHub ↗
(self, data_array, yincrease)

Source from the content-addressed store, hash-verified

3176
3177 @pytest.mark.parametrize("yincrease", [True, False])
3178 def test_yincrease_kwarg(self, data_array, yincrease) -> None:
3179 with figure_context():
3180 data_array.plot(yincrease=yincrease)
3181 assert plt.gca().yaxis_inverted() == (not yincrease)
3182
3183 @pytest.mark.parametrize("xscale", ["linear", "logit", "symlog"])
3184 def test_xscale_kwarg(self, data_array, xscale) -> None:

Callers

nothing calls this directly

Calls 2

figure_contextFunction · 0.85
plotMethod · 0.80

Tested by

no test coverage detected