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

Method test_xincrease_kwarg

xarray/tests/test_plot.py:3172–3175  ·  view source on GitHub ↗
(self, data_array, xincrease)

Source from the content-addressed store, hash-verified

3170
3171 @pytest.mark.parametrize("xincrease", [True, False])
3172 def test_xincrease_kwarg(self, data_array, xincrease) -> None:
3173 with figure_context():
3174 data_array.plot(xincrease=xincrease)
3175 assert plt.gca().xaxis_inverted() == (not xincrease)
3176
3177 @pytest.mark.parametrize("yincrease", [True, False])
3178 def test_yincrease_kwarg(self, data_array, yincrease) -> None:

Callers

nothing calls this directly

Calls 2

figure_contextFunction · 0.85
plotMethod · 0.80

Tested by

no test coverage detected