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

Method test_yscale_log_kwarg

xarray/tests/test_plot.py:3201–3205  ·  view source on GitHub ↗
(self, data_array_logspaced)

Source from the content-addressed store, hash-verified

3199 assert plt.gca().get_xscale() == xscale
3200
3201 def test_yscale_log_kwarg(self, data_array_logspaced) -> None:
3202 yscale = "log"
3203 with figure_context():
3204 data_array_logspaced.plot(yscale=yscale)
3205 assert plt.gca().get_yscale() == yscale
3206
3207 def test_xlim_kwarg(self, data_array) -> None:
3208 with figure_context():

Callers

nothing calls this directly

Calls 2

figure_contextFunction · 0.85
plotMethod · 0.80

Tested by

no test coverage detected