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

Method test_xscale_log_kwarg

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

Source from the content-addressed store, hash-verified

3193 assert plt.gca().get_yscale() == yscale
3194
3195 def test_xscale_log_kwarg(self, data_array_logspaced) -> None:
3196 xscale = "log"
3197 with figure_context():
3198 data_array_logspaced.plot(xscale=xscale)
3199 assert plt.gca().get_xscale() == xscale
3200
3201 def test_yscale_log_kwarg(self, data_array_logspaced) -> None:
3202 yscale = "log"

Callers

nothing calls this directly

Calls 2

figure_contextFunction · 0.85
plotMethod · 0.80

Tested by

no test coverage detected